Update to 2022-08-09 17:00

This commit is contained in:
Daniel Berteaud
2022-08-09 17:00:15 +02:00
parent 33a8c8266f
commit 4e571103f7
2 changed files with 6 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ consul_base_conf:
# datacenter: dc1
# Node name, which should be uniq in the region. Default is the hostname
# node_name: nomade-fr-zone-c
# node_name: consule-fr-zone-c
# Arbitrary metadata
# node_meta:
@@ -57,10 +57,10 @@ consul_base_conf:
retry_join: "{{ consul_servers }}"
bootstrap_expect: "{{ consul_servers | length }}"
server: "{{ (inventory_hostname in consul_servers) | ternary(True, False) }}"
server: "{{ (inventory_hostname in consul_servers | map('regex_replace', ':\\d+$', '')) | ternary(True, False) }}"
ui_config:
enabled: "{{ (inventory_hostname in consul_servers) | ternary(True, False) }}"
enabled: "{{ (inventory_hostname in consul_servers | map('regex_replace', ':\\d+$', '')) | ternary(True, False) }}"
performance:
raft_multiplier: 1
@@ -69,7 +69,7 @@ consul_base_conf:
prometheus_retention_time: 1h
connect:
enabled: False
enabled: "{{ (inventory_hostname in consul_servers | map('regex_replace', ':\\d+$', '')) | ternary(True, False) }}"
consul_extra_conf: {}
consul_host_conf: {}