Robert Kaussow
44d3cfa8dd
All checks were successful
continuous-integration/drone/push Build is passing
22 lines
535 B
YAML
22 lines
535 B
YAML
---
|
|
- block:
|
|
- name: Write environment file
|
|
template:
|
|
src: etc/sysconfig/tidy.j2
|
|
dest: /etc/sysconfig/tidy
|
|
notify: __tidy_restart
|
|
|
|
- name: Write timer file
|
|
template:
|
|
src: etc/systemd/system/tidy.timer.j2
|
|
dest: /etc/systemd/system/tidy.timer
|
|
notify: __tidy_restart
|
|
|
|
- name: Write service file
|
|
template:
|
|
src: etc/systemd/system/tidy.service.j2
|
|
dest: /etc/systemd/system/tidy.service
|
|
notify: __tidy_restart
|
|
become: True
|
|
become_user: root
|