2024-04-14 21:40:43 +02:00
|
|
|
---
|
|
|
|
- name: Ensure service-unit (cv4pve) is templated
|
|
|
|
ansible.builtin.template:
|
|
|
|
src: cv4pve.service.j2
|
|
|
|
dest: /etc/systemd/system/cv4pve.service
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: "0644"
|
2024-11-10 15:56:59 +01:00
|
|
|
no_log: "{{ no_debug | default('true') }}"
|
2024-04-14 21:40:43 +02:00
|
|
|
notify:
|
|
|
|
- systemctl daemon-reload
|
|
|
|
|
|
|
|
- name: Ensure service-unit (mail) is templated
|
|
|
|
ansible.builtin.template:
|
|
|
|
src: cv4pve_mail.service.j2
|
|
|
|
dest: /etc/systemd/system/cv4pve_mail.service
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: "0644"
|
|
|
|
notify:
|
|
|
|
- systemctl daemon-reload
|
|
|
|
|
|
|
|
- name: Ensure service-unit (timer) is templated
|
|
|
|
ansible.builtin.template:
|
|
|
|
src: cv4pve.timer.j2
|
|
|
|
dest: /etc/systemd/system/cv4pve.timer
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: "0644"
|
|
|
|
notify:
|
|
|
|
- systemctl daemon-reload
|
|
|
|
|
|
|
|
- name: Ensure timer is started is templated
|
|
|
|
ansible.builtin.systemd:
|
|
|
|
name: cv4pve.timer
|
|
|
|
state: started
|
|
|
|
enabled: true
|
|
|
|
...
|