monica: add backup script
This commit is contained in:
parent
363eaecc07
commit
86f741c3e9
2 changed files with 25 additions and 0 deletions
|
|
@ -43,3 +43,11 @@
|
|||
chdir: '/etc/monica'
|
||||
cmd: 'docker compose up -d --remove-orphans'
|
||||
when: 'res.changed'
|
||||
|
||||
- name: Ensure backup script is present
|
||||
ansible.builtin.copy:
|
||||
src: 'monica.backup.sh'
|
||||
dest: '/etc/backups/monica.backup.sh'
|
||||
owner: 'root'
|
||||
group: 'root'
|
||||
mode: '0644'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue