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

@@ -11,6 +11,8 @@ if [ -e /etc/profile.d/nomad.sh ]; then
fi
{% if nomad_conf.acl.enabled and nomad_backup_token is defined %}
export NOMAD_TOKEN={{ nomad_backup_token }}
# Give some time for the token to be replicated (if obtained from vault)
sleep 0.1
{% endif %}
{% endif %}
/usr/local/bin/nomad operator snapshot save {{ nomad_root_dir }}/backup/nomad.snap