xoxys.docker_tidy/tasks/setup.yml
Robert Kaussow bff10bf314
All checks were successful
continuous-integration/drone/push Build is passing
fix: solve linting issues
2021-02-04 21:44:33 +01:00

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