xoxys.docker_tidy/tasks/main.yml
Robert Kaussow 67582caa91
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
ci: migrate to woodpecker
2024-02-18 21:18:02 +01:00

29 lines
690 B
YAML

---
- name: Write environment file
ansible.builtin.template:
src: etc/sysconfig/tidy.j2
dest: /etc/sysconfig/tidy
mode: "0600"
notify: __tidy_restart
- name: Write timer file
ansible.builtin.template:
src: etc/systemd/system/tidy.timer.j2
dest: /etc/systemd/system/tidy.timer
mode: "0644"
notify: __tidy_restart
- name: Write service file
ansible.builtin.template:
src: etc/systemd/system/tidy.service.j2
dest: /etc/systemd/system/tidy.service
mode: "0644"
notify: __tidy_restart
- name: Ensure dockertidy timer is up and running
ansible.builtin.service:
name: tidy.timer
daemon_reload: True
enabled: True
state: started