d2718417e2
Reading the installation guide for podman, they reference opensuse.org as the official package repos for ubuntu: https://podman.io/getting-started/installation Using this repo allows us to pull in much newer version of podman on ubuntu. The current PPA package repo hasn't been updated since late 2019. Change-Id: Ie34419184925a4bcf30422a782e6a238c11f2319 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
27 lines
867 B
YAML
27 lines
867 B
YAML
- name: Add all repositories
|
|
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: ppa:projectatomic/ppa
|
|
- repo: "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_{{ ansible_distribution_version }}/ /"
|
|
|
|
- name: Install podman
|
|
package:
|
|
name:
|
|
- podman
|
|
- uidmap
|
|
- slirp4netns
|
|
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
|