Use newer version of podman on RHEL (#64934)
- Use same podman version for RHEL 7 and 8 - Pin to version 1.4
This commit is contained in:
parent
b04940d256
commit
a385ad321b
4 changed files with 5 additions and 5 deletions
test/integration/targets/setup_podman
1
test/integration/targets/setup_podman/defaults/main.yml
Normal file
1
test/integration/targets/setup_podman/defaults/main.yml
Normal file
|
@ -0,0 +1 @@
|
|||
podman_package: podman-1.4.*
|
|
@ -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: podman-1.3.*
|
|
@ -1 +0,0 @@
|
|||
podman_package: '@container-tools:1.0'
|
Loading…
Add table
Reference in a new issue