This commit is contained in:
Michael Grote 2022-04-01 18:54:00 +02:00
parent 2f00a6e31e
commit c8633c8b1e
2 changed files with 2 additions and 10 deletions

View file

@ -3,12 +3,3 @@
become: yes
ansible.builtin.systemd:
daemon_reload: yes
- name: systemctl enable units
become: yes
ansible.builtin.systemd:
name: "{{ item }}"
enabled: yes
masked: no
with_items:
- sanoid_mail.service

View file

@ -14,6 +14,7 @@
owner: root
group: root
mode: 0644
when: sanoid_datasets is defined and sanoid_templates is defined
- name: template sanoid_mail.service
become: yes
@ -26,7 +27,6 @@
notify:
- systemctl daemon-reload
- name: add sanoid_mail.service to sanoid.service
become: true
community.general.ini_file:
@ -50,6 +50,7 @@
value: "{{ sanoid_timer }}"
notify:
- systemctl daemon-reload
when: sanoid_timer is defined
# collections in meta?
# doku?