add ansible script to perform backup

This commit is contained in:
Pim Kunis 2023-01-15 23:28:17 +01:00
parent b3102f6c97
commit ff8bf15377
2 changed files with 10 additions and 0 deletions

7
playbooks/backup.yml Normal file
View file

@ -0,0 +1,7 @@
- name: Create backup
hosts: homeserver
tasks:
- name: Create backup
command:
cmd: systemctl start backup.service