mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-31 11:45:44 +02:00
Update to 2024-10-24 12:00
This commit is contained in:
@@ -10,6 +10,8 @@ if [ -e /etc/profile.d/consul.sh ]; then
|
||||
fi
|
||||
{% if consul_conf.acl.enabled and consul_backup_token is defined %}
|
||||
export CONSUL_HTTP_TOKEN={{ consul_backup_token }}
|
||||
# Give some time for the token to be replicated (if obtained from vault)
|
||||
sleep 0.1
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
consul snapshot save -append-filename version,dc,node,status {{ consul_root_dir }}/backup/consul.snap
|
||||
|
Reference in New Issue
Block a user