Handler improvements

Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
2025-05-25 20:03:49 -05:00
parent 3d1858e0f6
commit ec1f7ecb96
2 changed files with 14 additions and 10 deletions

View File

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