Handler improvements

Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
2025-05-25 20:12:42 -05:00
parent 0c2b0d36a7
commit 41aa8840b0
2 changed files with 10 additions and 6 deletions

View File

@@ -11,7 +11,7 @@
- ensure_postfix is defined
ansible.builtin.systemd:
daemon_reload: 'yes'
- name: 'ensure_postfix.services'
- name: 'ensure_postfix.service_restart'
when:
- ansible_system == 'Linux'
- ensure_postfix is defined
@@ -25,3 +25,5 @@
loop: '{{ ensure_postfix.service_list }}'
loop_control:
label: '{{ item.name }} will be restarted'
...