WIP: backups with borg and borgmatic #39
2 changed files with 12 additions and 12 deletions
|
@ -2,16 +2,4 @@
|
||||||
- name: Run systemd daemon-reload
|
- name: Run systemd daemon-reload
|
||||||
systemd:
|
systemd:
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
|
|
||||||
- name: Start and enable borgmatic timer
|
|
||||||
systemd:
|
|
||||||
name: borgmatic.timer
|
|
||||||
state: started
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
- name: Start and enable borgmatic service
|
|
||||||
systemd:
|
|
||||||
name: borgmatic.service
|
|
||||||
state: started
|
|
||||||
enabled: true
|
|
||||||
...
|
...
|
||||||
|
|
|
@ -81,6 +81,18 @@
|
||||||
- Start and enable borgmatic timer
|
- Start and enable borgmatic timer
|
||||||
- Start and enable borgmatic service
|
- Start and enable borgmatic service
|
||||||
|
|
||||||
|
- name: Start and enable borgmatic timer
|
||||||
|
systemd:
|
||||||
|
name: borgmatic.timer
|
||||||
|
state: started
|
||||||
|
enabled: true
|
||||||
|
|
||||||
|
- name: Start and enable borgmatic service
|
||||||
|
systemd:
|
||||||
|
name: borgmatic.service
|
||||||
|
state: started
|
||||||
|
enabled: true
|
||||||
|
|
||||||
- include_role: update_motd
|
- include_role: update_motd
|
||||||
vars:
|
vars:
|
||||||
key: 10-borgmatic
|
key: 10-borgmatic
|
||||||
|
|
Loading…
Reference in a new issue