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) (#2784)

* 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

(cherry picked from commit 19549058ce)

Co-authored-by: Amin Vakil <info@aminvakil.com>
This commit is contained in:
patchback[bot] 2021-06-11 19:28:48 +02:00 committed by GitHub
parent 725e670b47
commit 9565be5e50
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 # # 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: - block:
- name: Install necessary packages to test yum_versionlock - name: Install necessary packages to test yum_versionlock
yum: yum:
@ -60,4 +66,4 @@
state: absent state: absent
when: yum_versionlock_install is changed when: yum_versionlock_install is changed
when: (ansible_distribution in ['CentOS', 'RedHat'] and ansible_distribution_major_version is version('7', '>=')) or 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')