mirror of https://gerrit.osmocom.org/osmo-ci
ansible/podman: install from debian repos
Podman is in the official debian repositories since debian 10, install it from there instead of using a third-party repository. Related: OS#5365 Change-Id: I01549915d2c8dfda5fa605a014a304229c3078f0
This commit is contained in:
parent
5d3fb63b3d
commit
54a36bcb7d
|
@ -1,33 +0,0 @@
|
||||||
---
|
|
||||||
|
|
||||||
- name: add apt https support
|
|
||||||
apt:
|
|
||||||
cache_valid_time: 3600
|
|
||||||
update_cache: yes
|
|
||||||
pkg:
|
|
||||||
- apt-transport-https
|
|
||||||
- gnupg
|
|
||||||
- cron
|
|
||||||
- ca-certificates
|
|
||||||
when: ansible_distribution_major_version < 11
|
|
||||||
|
|
||||||
- name: add docker gpg key to apt keyring
|
|
||||||
apt_key:
|
|
||||||
id: 2472D6D0D2F66AF87ABA8DA34D64390375060AA4
|
|
||||||
url: https://ftp.uni-stuttgart.de/opensuse/repositories/devel:/kubic:/libcontainers:/stable/{{ obs_distro }}/Release.key
|
|
||||||
when: ansible_distribution_major_version < 11
|
|
||||||
|
|
||||||
- apt_repository:
|
|
||||||
repo: "deb https://ftp.uni-stuttgart.de/opensuse/repositories/devel:/kubic:/libcontainers:/stable/{{ obs_distro }}/ /"
|
|
||||||
state: present
|
|
||||||
update_cache: yes
|
|
||||||
when: ansible_distribution_major_version < 11
|
|
||||||
|
|
||||||
- name: install podman
|
|
||||||
apt:
|
|
||||||
pkg:
|
|
||||||
- podman
|
|
||||||
- runc
|
|
||||||
- buildah
|
|
||||||
- skopeo
|
|
||||||
- dnsmasq
|
|
|
@ -1,7 +1,9 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
- name: Include tasks for Debian
|
- name: install podman
|
||||||
include_tasks: debian.yml
|
apt:
|
||||||
when: (ansible_distribution in ['Debian', 'Raspbian'])
|
pkg:
|
||||||
|
- podman
|
||||||
# TODO: add other distributions below
|
- buildah
|
||||||
|
# Has reasonable recommends needed for dns resolving etc.
|
||||||
|
install_recommends: yes
|
||||||
|
|
Loading…
Reference in New Issue