computer-playbook/roles/systemd-timer/tasks/main.yml

7 lines
242 B
YAML
Raw Normal View History

2024-01-04 11:40:39 +01:00
- name: create {{service_name}}.timer
template:
src: dummy.timer.j2
dest: "/etc/systemd/system/{{service_name}}.timer"
register: dummy_timer
changed_when: dummy_timer.changed or activate_all_timers | bool
notify: restart timer