mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-08-09 17:00
This commit is contained in:
@@ -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: {}
|
||||
|
Reference in New Issue
Block a user