1
0
Fork 0
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:
Amin Vakil 2021-06-11 15:42:01 +04:30 committed by GitHub
parent c2ce7a0752
commit 19549058ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')