Ansible roles
 
 
 
 
 
 

7 lines
193 B

#!/bin/bash -e
rm -f {{ mayan_root_dir }}/backup/*
{% for index in mayan_index_as_fuse %}
umount {{ mayan_root_dir }}/fuse/{{ index }}
rmdir {{ mayan_root_dir }}/fuse/{{ index }}
{% endfor %}