fix: consul_primary_datacenter defaults to consul_datacenter for ease of configuration in single cluster mode, remove some useless comments
All checks were successful
development / Check commit compliance (push) Successful in 6s

This commit is contained in:
Bertrand Lanson 2024-07-11 23:31:03 +02:00
parent 594188b28f
commit 1448d10c93
Signed by: lanson
SSH Key Fingerprint: SHA256:/nqc6HGqld/PS208F6FUOvZlUzTS0rGpNNwR5O2bQBw

View File

@ -40,7 +40,7 @@ external_tls_externally_managed_certs: false
consul_domain: consul
consul_datacenter: dc1
consul_primary_datacenter: dc1
consul_primary_datacenter: "{{ consul_datacenter }}"
consul_leave_on_terminate: true
consul_rejoin_after_leave: true
consul_enable_script_checks: true
@ -50,12 +50,8 @@ consul_enable_script_checks: true
################################
consul_address_configuration:
# The address to which Consul will bind client interfaces,
# including the HTTP and DNS servers.
client_addr: "0.0.0.0"
# The address that should be bound to for internal cluster communications.
bind_addr: "{{ api_interface_address }}"
# The advertise address is used to change the address that we advertise to other nodes in the cluster.
advertise_addr: "{{ api_interface_address }}"
############################