mirror of
https://github.com/lemeow125/ansible-playbooks.git
synced 2024-11-17 04:09:26 +08:00
Add backup playbook
This commit is contained in:
parent
1ab5780416
commit
cbe8d0c2c4
1 changed files with 8 additions and 0 deletions
8
roles/tasks/debian/start_backups.yml
Normal file
8
roles/tasks/debian/start_backups.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
---
|
||||||
|
- hosts:
|
||||||
|
- debian
|
||||||
|
# Runs on root user already
|
||||||
|
become: false
|
||||||
|
tasks:
|
||||||
|
- name: Start Backups
|
||||||
|
command: tmux new-session -d -s "Borg Backups" "bash /root/scripts/backup.sh"
|
Loading…
Reference in a new issue