Fix podman_image integration tests (#59805)

Pin podman package at a specific version
pull/59941/head
Sam Doran 5 years ago committed by GitHub
parent 1351962eee
commit 691976c3d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
unsupported
shippable/posix/group3
skip/osx
skip/freebsd
destructive

@ -1,10 +1,13 @@
- block:
- name: Include distribution specific variables
include_vars: "{{ ansible_facts.distribution }}-{{ ansible_facts.distribution_major_version }}.yml"
- name: Enable extras repo
command: "{{ repo_command[ansible_facts.distribution ~ ansible_facts.distribution_major_version] | default('echo') }}"
- name: Install podman
yum:
name: podman
name: "{{ podman_package }}"
state: present
when: ansible_facts.pkg_mgr in ['yum', 'dnf']
when:

@ -0,0 +1 @@
podman_package: '@container-tools:1.0'

@ -1,3 +1,2 @@
repo_command:
RedHat7: yum-config-manager --enable rhui-REGION-rhel-server-extras
# RedHat8: dnf config-manager --enablerepo rhui-REGION-rhel-server-extras

Loading…
Cancel
Save