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

7 lines
256 B
YAML
Raw Normal View History

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