Fix using a service in place of a timer
This commit is contained in:
parent
4e6c96fabd
commit
ca920a1f83
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user