Switch all these places to use dnf/yum state=present instead of latest. This prevents showing changes on package updates.
This commit is contained in:
parent
0b040b9957
commit
62e16bb9a4
13 changed files with 30 additions and 30 deletions
|
@ -4,13 +4,13 @@
|
|||
# closer to stg/prod
|
||||
---
|
||||
- name: ensure packages required for proxying are installed (yum)
|
||||
yum: name={{ item }} state=latest enablerepo={{ extra_enablerepos }}
|
||||
yum: name={{ item }} state=present enablerepo={{ extra_enablerepos }}
|
||||
with_items:
|
||||
- libsemanage-python
|
||||
when: ansible_distribution_major_version|int < 22
|
||||
|
||||
- name: ensure packages required for proxying are installed (dnf)
|
||||
dnf: name={{ item }} state=latest enablerepo={{ extra_enablerepos }}
|
||||
dnf: name={{ item }} state=present enablerepo={{ extra_enablerepos }}
|
||||
with_items:
|
||||
- libsemanage-python
|
||||
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue