mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-08-31 18:00
This commit is contained in:
@@ -30,11 +30,15 @@ storage "raft" {
|
||||
performance_multiplier = {{ vault_conf.storage.raft.performance_multiplier }}
|
||||
{% if vault_conf.storage.raft.retry_join | length > 0 %}
|
||||
{% for server in vault_conf.storage.raft.retry_join %}
|
||||
{% if server.leader_api_addr is defined and server.leader_api_addr != vault_conf.api_addr %}
|
||||
retry_join {
|
||||
{% for key in server.keys() | list %}
|
||||
{{ key }} = "{{ server[key] }}"
|
||||
{% endfor %}
|
||||
}
|
||||
{% else %}
|
||||
# Skipping {{ server.leader_api_addr }} as it's ourself
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
}
|
||||
@@ -55,3 +59,5 @@ service_registration "consul" {
|
||||
{% endif %}
|
||||
}
|
||||
{% endif %}
|
||||
|
||||
ui = {{ vault_conf.ui | ternary('true', 'false') }}
|
||||
|
Reference in New Issue
Block a user