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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user