Handler improvements

This commit is contained in:
2025-05-25 20:05:09 -05:00
parent 656ac2e40f
commit ecbc5660d2
3 changed files with 17 additions and 2 deletions

View File

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