1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_restic_archiver.git synced 2024-08-16 10:09:49 +02:00
ansible_role_restic_archiver/templates/includes/mounting.sh.j2
L3D d6d73090c6
updating...
+ updated meta info
+ try to medernize j2 stuff
+ try to add error to mail subject
RESOLVED https://github.com/roles-ansible/ansible_role_restic_archiver/issues/8
2021-10-04 18:12:38 +02:00

6 lines
131 B
Django/Jinja

if mountpoint -q {{ restic_archiver__mount_disk }}
then
echo "{{ restic_archiver__mount_disk }} is mounted"
else
mount -a
fi