mirror of
https://gitlab.com/s3lph/ansible-collection-dirvish
synced 2024-11-15 05:44:15 +01:00
12 lines
270 B
Django/Jinja
12 lines
270 B
Django/Jinja
#!/bin/bash
|
|
#
|
|
{{ ansible_managed | comment }}
|
|
set -e
|
|
|
|
mkdir -p /var/backup
|
|
|
|
{% for snapshot_script in dirvish_client_snapshot_scripts %}
|
|
{{ dirvish_client_snapshot_directory }}/{{ snapshot_script }}
|
|
{% endfor %}
|
|
|
|
echo $(date +%s) > /var/backup/.dirvish-snapshot-success
|