mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2022-08-02 18:00
This commit is contained in:
5
roles/nomad/templates/post-backup.j2
Normal file
5
roles/nomad/templates/post-backup.j2
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
rm -f {{ nomad_root_dir }}/backup/nomad.snap
|
5
roles/nomad/templates/pre-backup.j2
Normal file
5
roles/nomad/templates/pre-backup.j2
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
{{ nomad_root_dir }}/bin/nomad operator snapshot save {{ nomad_root_dir }}/backup/nomad.snap
|
Reference in New Issue
Block a user