mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-29 16:01:04 +01:00
7 lines
242 B
YAML
7 lines
242 B
YAML
|
- 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
|