Skip to content

Instantly share code, notes, and snippets.

@tsuchm
Created July 3, 2020 05:24
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsuchm/e40b17af389321e4858e48eb51a49eb3 to your computer and use it in GitHub Desktop.
Save tsuchm/e40b17af389321e4858e48eb51a49eb3 to your computer and use it in GitHub Desktop.
Ansible playbook to install buildah and podman
# https://github.com/containers/buildah/blob/master/install.md
- name: Add buildah repository key
apt_key:
url: https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/Debian_10/Release.key
state: present
- name: Enable buildah repository
apt_repository:
repo: deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /
update_cache: yes
filename: buildah
- name: Install buildah package
apt:
name: ['buildah', 'podman']
state: latest
update_cache: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment