mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
yum_versionlock: enable fedora34 integration test (#2543)
* Re-enable Fedora 34
* Update procps-ng before anything in yum_versionlock integration test
* Move procps-ng installation to block
* Revert "Move procps-ng installation to block"
This reverts commit 3aa873a110
.
* Update procps-ng only on Fedora 34
This commit is contained in:
parent
c2ce7a0752
commit
19549058ce
1 changed files with 7 additions and 1 deletions
|
@ -4,6 +4,12 @@
|
|||
# and should not be used as examples of how to write Ansible roles #
|
||||
####################################################################
|
||||
|
||||
- name: Update procps-ng temporary until issue (#2539) is fixed
|
||||
yum:
|
||||
name: procps-ng
|
||||
state: latest
|
||||
when: ansible_distribution == 'Fedora' and ansible_distribution_major_version == '34'
|
||||
|
||||
- block:
|
||||
- name: Install necessary packages to test yum_versionlock
|
||||
yum:
|
||||
|
@ -60,4 +66,4 @@
|
|||
state: absent
|
||||
when: yum_versionlock_install is changed
|
||||
when: (ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version is version('7', '>=')) or
|
||||
(ansible_distribution == 'Fedora' and ansible_distribution_major_version is version('33', '<='))
|
||||
(ansible_distribution == 'Fedora')
|
||||
|
|
Loading…
Reference in a new issue