mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
Prepare CI for Podman v3 backward compatibility (#528)
Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com> Signed-off-by: Sagi Shnaidman <sshnaidm@redhat.com>
This commit is contained in:
parent
2498c52f26
commit
73af4896b4
4 changed files with 27 additions and 90 deletions
|
|
@ -4,6 +4,19 @@
|
|||
shell: |
|
||||
. /etc/os-release
|
||||
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${VERSION_ID}/ /" > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
|
||||
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_${VERSION_ID}/Release.key | apt-key add -
|
||||
apt-get update
|
||||
when:
|
||||
- ansible_distribution|lower == "ubuntu"
|
||||
- podman_version_ubuntu | default('unstable') == 'unstable'
|
||||
|
||||
- name: Install repo for ubuntu
|
||||
become: true
|
||||
shell: |
|
||||
. /etc/os-release
|
||||
echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/ /" > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
|
||||
curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_${VERSION_ID}/Release.key | apt-key add -
|
||||
apt-get update
|
||||
when: ansible_distribution|lower == "ubuntu"
|
||||
when:
|
||||
- ansible_distribution|lower == "ubuntu"
|
||||
- podman_version_ubuntu | default('unstable') == 'stable'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue