Infra: AWS Update to Ubuntu 20.04
[csit.git] / resources / tools / testbed-setup / ansible / roles / consul / templates / consul.hcl.j2
1 consul {
2     auto_advertise = {{ consul_auto_advertise | bool | lower }}
3     checks_use_advertise = {{ consul_checks_use_advertise | bool | lower }}
4     client_auto_join = {{ consul_client_auto_join | bool | lower }}
5     client_service_name = "{{ consul_client_service_name }}"
6     server_service_name = "{{ consul_server_service_name }}"
7     server_auto_join = {{ consul_server_auto_join | bool | lower }}
8 {% if consul_ACL_token_set == True %}
9     token = "{{ consul_token }}"
10 {% endif %}
11
12 }