39 lines
822 B
YAML
39 lines
822 B
YAML
|
---
|
||
|
- name: template cv4pve.service
|
||
|
ansible.builtin.template:
|
||
|
src: cv4pve.service.j2
|
||
|
dest: /etc/systemd/system/cv4pve.service
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: "0644"
|
||
|
no_log: true
|
||
|
notify:
|
||
|
- systemctl daemon-reload
|
||
|
|
||
|
- name: template cv4pve_mail.service
|
||
|
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: template cv4pve.timer
|
||
|
ansible.builtin.template:
|
||
|
src: cv4pve.timer.j2
|
||
|
dest: /etc/systemd/system/cv4pve.timer
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: "0644"
|
||
|
notify:
|
||
|
- systemctl daemon-reload
|
||
|
|
||
|
- name: systemctl start cv4pve.timer
|
||
|
ansible.builtin.systemd:
|
||
|
name: cv4pve.timer
|
||
|
state: started
|
||
|
enabled: true
|
||
|
...
|