Handler Improvements

Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
2025-05-25 20:14:03 -05:00
parent 7fd1b46cdc
commit 113904a846
2 changed files with 6 additions and 1 deletions

View File

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