You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
392 B
YAML

- template:
src=touch-file.service.j2
dest=/etc/systemd/system/touch-file-{{ file|replace('/', '-') }}.service
notify: systemd-daemon-reload
- template:
src=touch-file.timer.j2
dest=/etc/systemd/system/touch-file-{{ file|replace('/', '-') }}.timer
notify: systemd-daemon-reload
- service:
name=touch-file-{{ file|replace('/', '-') }}.timer state=started enabled=yes