15 lines
446 B
Django/Jinja
15 lines
446 B
Django/Jinja
datacenter = "{{ consul_dc }}"
|
|
bind_addr = "{{ ansible_default_ipv4.address }}"
|
|
start_join = ["{{ groups['consul_server'] | map('extract', hostvars, ['ansible_default_ipv4', 'address']) | join('","') }}"]
|
|
data_dir = "/opt/consul"
|
|
log_level = "INFO"
|
|
server = true
|
|
bootstrap_expect = 3
|
|
ui = true
|
|
addresses {
|
|
http = "0.0.0.0"
|
|
}
|
|
performance {
|
|
raft_multiplier = 1
|
|
}
|