xoxys.docker_tidy/tasks/setup.yml

22 lines
535 B
YAML
Raw Normal View History

2020-03-21 13:05:43 +00:00
---
- 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