aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/borg-client/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/borg-client/handlers')
-rw-r--r--ansible/roles/borg-client/handlers/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/ansible/roles/borg-client/handlers/main.yml b/ansible/roles/borg-client/handlers/main.yml
new file mode 100644
index 0000000..6e31199
--- /dev/null
+++ b/ansible/roles/borg-client/handlers/main.yml
@@ -0,0 +1,10 @@
+- name: systemd daemon-reload
+ become: yes
+ systemd:
+ daemon_reload: true
+
+- name: service start create-backup.timer
+ become: yes
+ service:
+ name: create-backup.timer
+ state: restarted