Fix using a service in place of a timer

This commit is contained in:
Salt 2021-01-16 23:40:57 -06:00
parent 4e6c96fabd
commit ca920a1f83

View File

@ -6,7 +6,7 @@
- name: configure systemd service - name: configure systemd service
template: src=backup.service dest=/etc/systemd/system/backup.service template: src=backup.service dest=/etc/systemd/system/backup.service
- name: configure systemd timer - 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 notify: restart backup timer
- name: enable timer - name: enable timer
systemd: name=backup.timer state=started enabled=yes daemon_reload=yes systemd: name=backup.timer state=started enabled=yes daemon_reload=yes