xoxys.docker_tidy/tasks/setup.yml
Robert Kaussow 44d3cfa8dd
All checks were successful
continuous-integration/drone/push Build is passing
refactoring
2020-03-21 14:05:43 +01:00

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