add ansible script to perform backup
This commit is contained in:
parent
b3102f6c97
commit
ff8bf15377
2 changed files with 10 additions and 0 deletions
7
playbooks/backup.yml
Normal file
7
playbooks/backup.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
- name: Create backup
|
||||
hosts: homeserver
|
||||
|
||||
tasks:
|
||||
- name: Create backup
|
||||
command:
|
||||
cmd: systemctl start backup.service
|
Reference in a new issue