The official podman ubuntu install guide[1] tells to install podman from Kubic project repo for ubuntu Bionic and Focal. And project atomic PPA repo[2] is deprecated. But Kubic repo only provides x86_64 deb packages for Bionic. For non x86_64 platforms use project atomic PPA repo on Bionic. Also add a job zuul-jobs-test-ensure-podman-ubuntu-focal. [1] https://podman.io/getting-started/installation [2] https://launchpad.net/~projectatomic/+archive/ubuntu/ppa Change-Id: I402adf1866e4bb8f3b388216bc48b9927e1388b1
27 lines
862 B
YAML
27 lines
862 B
YAML
- name: Add kubic project repository
|
|
include_role:
|
|
name: ensure-package-repositories
|
|
vars:
|
|
repositories_keys:
|
|
- url: "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_{{ ansible_distribution_version }}/Release.key"
|
|
repositories_list:
|
|
- repo: "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_{{ ansible_distribution_version }}/ /"
|
|
|
|
- name: Install podman
|
|
package:
|
|
name:
|
|
- podman
|
|
- uidmap
|
|
- slirp4netns
|
|
- fuse-overlayfs
|
|
state: present
|
|
become: yes
|
|
|
|
# NOTE(pabelanger): Remove default registries.conf file, so we can manage it
|
|
# ourself. It could have v1 syntax, which doesn't work with v2.
|
|
- name: Remove /etc/containers/registries.conf
|
|
become: true
|
|
file:
|
|
state: absent
|
|
path: /etc/containers/registries.conf
|