From ca920a1f831144a1810794efccdbe77a434c5e7c Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 16 Jan 2021 23:40:57 -0600 Subject: [PATCH] Fix using a service in place of a timer --- roles/backup/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/backup/tasks/main.yml b/roles/backup/tasks/main.yml index 4a7c9a8..1cdb070 100644 --- a/roles/backup/tasks/main.yml +++ b/roles/backup/tasks/main.yml @@ -6,7 +6,7 @@ - name: configure systemd service template: src=backup.service dest=/etc/systemd/system/backup.service - name: configure systemd timer - template: src=backup.service dest=/etc/systemd/system/backup.timer + template: src=backup.timer dest=/etc/systemd/system/backup.timer notify: restart backup timer - name: enable timer systemd: name=backup.timer state=started enabled=yes daemon_reload=yes