brushing up backups
This commit is contained in:
parent
e9bb90f8f8
commit
2ebb2f9a64
5 changed files with 185 additions and 3 deletions
|
|
@ -33,6 +33,19 @@
|
|||
validate: "bash -n %s"
|
||||
become: yes
|
||||
|
||||
# A human-run assertion that last night actually worked. Generated from the same
|
||||
# source list as the puller, so it can never drift out of sync with what is
|
||||
# supposed to be arriving.
|
||||
- name: Install the backup check script
|
||||
ansible.builtin.template:
|
||||
src: check-backups.sh.j2
|
||||
dest: /usr/local/bin/check-backups.sh
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0755'
|
||||
validate: "bash -n %s"
|
||||
become: yes
|
||||
|
||||
- name: Install the pull-backups systemd units
|
||||
ansible.builtin.template:
|
||||
src: "pull-backups.{{ item }}.j2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue