adjust "when" conditions to support RHEL8 naming
This commit is contained in:
parent
50a8dc1248
commit
6f29a3904e
5 changed files with 8 additions and 8 deletions
|
@ -19,7 +19,7 @@
|
|||
package:
|
||||
name: '*'
|
||||
state: latest
|
||||
when: ansible_distribution in ["CentOS", "Red Hat Enterprise Linux", "Debian", "Ubuntu"] and not is_atomic
|
||||
when: ansible_distribution in ["CentOS", "Red Hat Enterprise Linux", "RedHat", "Debian", "Ubuntu"] and not is_atomic
|
||||
register: host_upgraded
|
||||
|
||||
- name: reboot updated hosts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue