initial git commit
This commit is contained in:
commit
ede3979533
5 changed files with 35 additions and 0 deletions
12
tasks/main.yml
Normal file
12
tasks/main.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
- 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
|
Loading…
Add table
Add a link
Reference in a new issue