[borgbackups] Make use of handlers
parent
acafd5b7c8
commit
2850679ced
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
- name: restart cron
|
||||||
|
service:
|
||||||
|
name: cron
|
||||||
|
state: restarted
|
|
@ -45,4 +45,5 @@
|
||||||
template:
|
template:
|
||||||
src: "cron.d/borg.j2"
|
src: "cron.d/borg.j2"
|
||||||
dest: "/etc/cron.d/borg"
|
dest: "/etc/cron.d/borg"
|
||||||
|
notify: restart cron
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue