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
|
- hosts: backup_server
|
||||||
|
roles:
|
||||||
|
- name: common
|
||||||
|
vars:
|
||||||
|
ansible_cfg_repo: infra/backups
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
# - name: install necessary packages
|
# - name: install necessary packages
|
||||||
# ansible.builtin.apt:
|
# ansible.builtin.apt:
|
||||||
|
@ -76,6 +81,12 @@
|
||||||
register: rsnapshot_conf
|
register: rsnapshot_conf
|
||||||
tags: rsnapshot
|
tags: rsnapshot
|
||||||
|
|
||||||
|
- name: Check rsnapshot config
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: rsnapshot configtest
|
||||||
|
register: rsnapshot_configtest
|
||||||
|
tags: rsnapshot
|
||||||
|
|
||||||
- name: Copy systemd unit files
|
- name: Copy systemd unit files
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: files/{{ item }}
|
src: files/{{ item }}
|
||||||
|
|
|
@ -235,7 +235,7 @@ backup /mnt/kdrive/ kdrive/
|
||||||
|
|
||||||
|
|
||||||
### kubernetes PVCs
|
### kubernetes PVCs
|
||||||
backup /mnt/syno/k8home/ k8home/
|
backup /mnt/syno/k8home/ k8home/
|
||||||
|
|
||||||
# LOCALHOST
|
# LOCALHOST
|
||||||
#backup /home/ localhost/
|
#backup /home/ localhost/
|
||||||
|
@ -265,4 +265,4 @@ backup /mnt/syno/k8home/ k8home/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# vim: ts=4:sw=4:noet:
|
Loading…
Reference in a new issue