Include patching for RedHat
This commit is contained in:
@@ -8,3 +8,11 @@
|
||||
autoclean: yes
|
||||
when: ansible_os_family == 'Debian'
|
||||
notify: Reboot if required
|
||||
|
||||
# TODO consider including yum as fallback
|
||||
- name: Patch RedHat-family hosts
|
||||
ansible.builtin.dnf:
|
||||
# Updates all packages
|
||||
name: "*"
|
||||
state: latest
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
Reference in New Issue
Block a user