More ansible core 2.20 fixes
Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
+3
-3
@@ -6,14 +6,14 @@
|
|||||||
ansible.builtin.service_facts:
|
ansible.builtin.service_facts:
|
||||||
- name: 'ensure_os_patch.service_reload'
|
- name: 'ensure_os_patch.service_reload'
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_facts["system"] == 'Linux'
|
||||||
- ansible_service_mgr == 'systemd'
|
- ansible_facts["service_mgr"] == 'systemd'
|
||||||
- ensure_os_patch is defined
|
- ensure_os_patch is defined
|
||||||
ansible.builtin.systemd:
|
ansible.builtin.systemd:
|
||||||
daemon_reload: 'yes'
|
daemon_reload: 'yes'
|
||||||
- name: 'ensure_os_patch.service_restart'
|
- name: 'ensure_os_patch.service_restart'
|
||||||
when:
|
when:
|
||||||
- ansible_system == 'Linux'
|
- ansible_facts["system"] == 'Linux'
|
||||||
- ensure_os_patch is defined
|
- ensure_os_patch is defined
|
||||||
- ensure_os_patch.service_list is defined
|
- ensure_os_patch.service_list is defined
|
||||||
- ensure_os_patch.service_list is iterable
|
- ensure_os_patch.service_list is iterable
|
||||||
|
|||||||
Reference in New Issue
Block a user