Update to 2024-10-24 12:00

This commit is contained in:
Daniel Berteaud
2024-10-24 12:00:41 +02:00
parent 7ae7f41b2c
commit 882623afc1
6 changed files with 25 additions and 2 deletions

View File

@@ -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