See if we can handle the yum, dnf and ostree cases right.
This commit is contained in:
parent
fe59adfd6b
commit
b42db39955
2 changed files with 7 additions and 3 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
- name: ntp pkgs
|
||||
command: dnf install -y ntpdate ntp libsemanage-python libselinux-python
|
||||
when: ansible_distribution_major_version > '22'
|
||||
when: ansible_distribution_major_version > '21' and not ansible_cmdline.ostree
|
||||
tags:
|
||||
- packages
|
||||
|
||||
|
@ -61,7 +61,7 @@
|
|||
- name: update all
|
||||
command: dnf -y update creates=/etc/sysconfig/global-update-applied
|
||||
register: updated
|
||||
when: ansible_distribution_major_version > '21'
|
||||
when: ansible_distribution_major_version > '21' and not ansible_cmdline.ostree
|
||||
tags:
|
||||
- packages
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue