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