Add open_backup.sh

Add open_backup, a script to mount the encrypted backup drive created in
arch_backup.
This commit is contained in:
ducoterra
2022-02-04 13:49:02 -05:00
parent c6db306a0e
commit 672371887c
2 changed files with 55 additions and 0 deletions

View File

@@ -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 }}"