Add domain and raft protocol
This commit is contained in:
parent
8988e78e39
commit
09c54475a3
1 changed files with 2 additions and 0 deletions
|
@ -1,8 +1,10 @@
|
||||||
datacenter = "{{ consul_dc }}"
|
datacenter = "{{ consul_dc }}"
|
||||||
|
domain = "minhas.io"
|
||||||
bind_addr = "{{ ansible_default_ipv4.address }}"
|
bind_addr = "{{ ansible_default_ipv4.address }}"
|
||||||
start_join = ["{{ groups['consul_server'] | map('extract', hostvars, ['ansible_default_ipv4', 'address']) | join('","') }}"]
|
start_join = ["{{ groups['consul_server'] | map('extract', hostvars, ['ansible_default_ipv4', 'address']) | join('","') }}"]
|
||||||
data_dir = "/opt/consul"
|
data_dir = "/opt/consul"
|
||||||
log_level = "INFO"
|
log_level = "INFO"
|
||||||
|
raft_protocol = 3
|
||||||
server = true
|
server = true
|
||||||
bootstrap_expect = 3
|
bootstrap_expect = 3
|
||||||
ui = true
|
ui = true
|
||||||
|
|
Loading…
Reference in a new issue