92105159e7
I think this package is technically optional because you can run as non-root without it. But since this is a generic role that is just supposed to give you a working podman, include it. Somehow we forgot to remove the podman centos-8 (not stream) job in previous cleanups; remove it here. Change-Id: I0a87545d29a5ea49a2d9d98c09467c89e7232d4b
28 lines
898 B
YAML
28 lines
898 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
|
|
- containernetworking-plugins
|
|
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
|