Handler Improvements

Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
Jason Rothstein 2025-05-25 20:14:21 -05:00
parent 2b8677576e
commit fd3017e27f
Signed by: jmrothst
GPG Key ID: 741BF3C536829D46
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -60,3 +60,5 @@
- 'ensure_timezone.service_facts'
- name: 'flush handlers'
meta: 'flush_handlers'
...