aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/consul/templates/consul.hcl.j2
blob: c78e5e1ce5084e76ece429e0faa46c72b7d307f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
consul {
    auto_advertise = {{ consul_auto_advertise | bool | lower }}
    checks_use_advertise = {{ consul_checks_use_advertise | bool | lower }}
    client_auto_join = {{ consul_client_auto_join | bool | lower }}
    client_service_name = "{{ consul_client_service_name }}"
    server_service_name = "{{ consul_server_service_name }}"
    server_auto_join = {{ consul_server_auto_join | bool | lower }}
{% if consul_ACL_token_set == True %}
    token = "{{ consul_token }}"
{% endif %}

}