Use newer version of podman on RHEL (#64934)

- Use same podman version for RHEL 7 and 8
- Pin to version 1.4
pull/64967/head
Sam Doran 5 years ago committed by GitHub
parent b04940d256
commit a385ad321b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -1 +0,0 @@
podman_package: '@container-tools:1.0'
Loading…
Cancel
Save