Add open_backup.sh
Add open_backup, a script to mount the encrypted backup drive created in arch_backup.
This commit is contained in:
@@ -18,6 +18,14 @@
|
||||
group: root
|
||||
mode: '0744'
|
||||
become: yes
|
||||
- name: Template open_backup.sh
|
||||
ansible.builtin.template:
|
||||
src: open_backup.sh.j2
|
||||
dest: /usr/local/scripts/open_backup.sh
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0744'
|
||||
become: yes
|
||||
- name: Ensure hourly backups of each item in backups
|
||||
ansible.builtin.cron:
|
||||
name: "hourly backup of {{ item }}"
|
||||
|
||||
Reference in New Issue
Block a user