mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-03 23:26:58 +02:00
Update to 2024-10-24 12:00
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user