call me stuff the way i do stuff

This commit is contained in:
nora 2024-02-05 17:16:03 +01:00
parent 8331b28f5d
commit 0eae57ba2e
6 changed files with 105 additions and 21 deletions

View file

@ -3,6 +3,17 @@
hosts: vps2
gather_facts: false
tasks:
- name: Copy backup file
ansible.builtin.copy:
src: "../vps2/backup.sh"
dest: "/apps/backup.sh"
mode: "u=rx,g=rx,o=rx"
- name: Configure backup cron
ansible.builtin.cron:
name: Daily backup
minute: "5"
hour: "7"
job: "/apps/backup.sh"
#####
# APP: docker registry, /apps/registry
#####