More ansible core 2.20 fixes

Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
2026-05-05 18:17:12 -05:00
parent c666df190f
commit 11873ee36f
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -6,14 +6,14 @@
ansible.builtin.service_facts:
- name: 'ensure_repo_rpmfusion.service_reload'
when:
- ansible_system == 'Linux'
- ansible_service_mgr == 'systemd'
- ansible_facts["system"] == 'Linux'
- ansible_facts["service_mgr"] == 'systemd'
- ensure_repo_rpmfusion is defined
ansible.builtin.systemd:
daemon_reload: 'yes'
- name: 'ensure_repo_rpmfusion.service_restart'
when:
- ansible_system == 'Linux'
- ansible_facts["system"] == 'Linux'
- ensure_repo_rpmfusion is defined
- ensure_repo_rpmfusion.service_list is defined
- ensure_repo_rpmfusion.service_list is iterable