Use newer version of podman on RHEL ()

- Use same podman version for RHEL 7 and 8
- Pin to version 1.4
This commit is contained in:
Sam Doran 2019-11-17 12:45:10 -05:00 committed by GitHub
parent b04940d256
commit a385ad321b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions
test/integration/targets/setup_podman

View file

@ -0,0 +1 @@
podman_package: podman-1.4.*

View file

@ -1,7 +1,4 @@
- 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') }}"
@ -10,6 +7,10 @@
name: "{{ podman_package }}"
state: present
when: ansible_facts.pkg_mgr in ['yum', 'dnf']
- name: Get podman version
command: podman --version
when:
- ansible_facts.distribution == 'RedHat'
- ansible_facts.virtualization_type != 'docker'

View file

@ -1 +0,0 @@
podman_package: podman-1.3.*

View file

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