Add Fedora 43 and EL 10, and if using dnf/dnf5/yum package manager we patch by default, allowing duplicate data removal

This commit is contained in:
2026-03-09 00:33:51 -05:00
parent 73725a8751
commit a210d4edeb
38 changed files with 129 additions and 89 deletions

View File

@@ -60,7 +60,7 @@
notify:
- 'ensure_os_patch.package_facts'
- 'ensure_os_patch.service_facts'
- name: 'ensure Debian patch'
- name: 'ensure apt patch'
when:
- ansible_system == 'Linux'
- ansible_pkg_mgr == 'apt'
@@ -71,6 +71,16 @@
notify:
- 'ensure_os_patch.package_facts'
- 'ensure_os_patch.service_facts'
- name: 'ensure dnf or yum patch'
when:
- ansible_system == 'Linux'
- ansible_pkg_mgr == 'dnf' or ansible_pkg_mgr == 'dnf5' or ansible_pkg_mgr == 'yum'
ansible.builtin.package:
name: '*'
state: 'latest'
notify:
- 'ensure_os_patch.package_facts'
- 'ensure_os_patch.service_facts'
- name: 'ensure services'
when:
- ansible_system == 'Linux'