Compare commits
2 commits
492388011e
...
460fe20559
Author | SHA1 | Date | |
---|---|---|---|
460fe20559 | |||
163c716fc9 |
2 changed files with 13 additions and 2 deletions
|
@ -1,5 +1,10 @@
|
|||
---
|
||||
- hosts: backup_server
|
||||
roles:
|
||||
- name: common
|
||||
vars:
|
||||
ansible_cfg_repo: infra/backups
|
||||
|
||||
tasks:
|
||||
# - name: install necessary packages
|
||||
# ansible.builtin.apt:
|
||||
|
@ -76,6 +81,12 @@
|
|||
register: rsnapshot_conf
|
||||
tags: rsnapshot
|
||||
|
||||
- name: Check rsnapshot config
|
||||
ansible.builtin.command:
|
||||
cmd: rsnapshot configtest
|
||||
register: rsnapshot_configtest
|
||||
tags: rsnapshot
|
||||
|
||||
- name: Copy systemd unit files
|
||||
ansible.builtin.copy:
|
||||
src: files/{{ item }}
|
||||
|
|
|
@ -265,4 +265,4 @@ backup /mnt/syno/k8home/ k8home/
|
|||
|
||||
|
||||
|
||||
|
||||
# vim: ts=4:sw=4:noet:
|
Loading…
Reference in a new issue