Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 48 additions & 3 deletions tasks/install.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
---

- name: Add testing branch so we can get wireguard installer
apt_repository:
repo: deb http://raspbian.raspberrypi.org/raspbian/ testing main contrib non-free rpi
state: present
update_cache: yes
tags:
- podman_packages
- podman_install_slirp4netns

- name: Uninstall requisite dev packages
apt:
name:
- autogen
- autoconf
- libassuan-dev
- libc6-dev
- libgcc-8-dev
- libdevmapper-dev
- libglib2.0-dev
- libgpgme-dev
- libgpg-error-dev
- libostree-dev
- libprotobuf-dev
- libprotobuf-c-dev
- libseccomp-dev
- libselinux1-dev
- libsystemd-dev
- libapparmor-dev
- libcap-dev
state: absent
force_apt_get: yes
cache_valid_time: 2592000



- name: Install requisite packages (likely present)
apt:
name:
Expand All @@ -15,7 +50,7 @@
- runc
- uidmap
- dphys-swapfile
state: present
state: latest
force_apt_get: yes
cache_valid_time: 84600
tags:
Expand All @@ -33,7 +68,11 @@
- libdevmapper-dev
- libglib2.0-dev
- libgpgme-dev
- gcc-8-base
- libgc1
- guile-2.2-libs
- libgpg-error-dev
- libgcc-8-dev
- libostree-dev
- libprotobuf-dev
- libprotobuf-c-dev
Expand All @@ -44,7 +83,7 @@
- libcap-dev
- meson
- ninja-build
state: present
state: latest
force_apt_get: yes
cache_valid_time: 84600
tags:
Expand Down Expand Up @@ -153,7 +192,7 @@
- autogen
- autoconf
- libassuan-dev
- libc6-dev
- libc8-dev
- libdevmapper-dev
- libglib2.0-dev
- libgpgme-dev
Expand All @@ -173,3 +212,9 @@
- podman_build_cleanup
register: podman_packages_present
when: podman_build_cleanup == "Yes"

- name: Remove testing branch so we don't get accidental surpises
apt_repository:
repo: deb http://raspbian.raspberrypi.org/raspbian/ testing main contrib non-free rpi
state: absent
update_cache: yes
2 changes: 1 addition & 1 deletion tasks/install_buildah.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- name: Clone Buildah (conmon) Repo
git:
repo: https://github.com/containers/buildah.git
version: v1.14.9
version: v1.16.1
dest: "{{ podman.buildDir }}/src/github.com/containers/buildah/"
update: no
become: yes
Expand Down
2 changes: 1 addition & 1 deletion tasks/install_cni.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- name: Install CNI Plugins (conmon)
git:
repo: https://github.com/containernetworking/plugins.git
version: master
version: v0.8.0
dest: "{{ podman.buildDir }}//src/github.com/containernetworking/plugins"
update: no
become: yes
Expand Down
14 changes: 7 additions & 7 deletions tasks/install_podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- name: Clone Podman (conmon) Repo
git:
repo: https://github.com/containers/libpod/
version: v1.9.3
version: v2.0.6
dest: "{{ podman.buildDir }}/src/github.com/containers/libpod"
update: no
become: yes
Expand All @@ -12,18 +12,18 @@

- name: Compile Podman
make:
target: install
chdir: "{{ podman.buildDir }}/src/github.com/containers/libpod"
register: podman_podman_buildok
become: yes
become_user: "{{ ansible_user }}"
environment:
GOPATH: "{{ podman.buildDir }}/"
GOOS: linux
GOARCH: arm


- name: Install Podman [or so it says]
make:
target: install
chdir: "{{ podman.buildDir }}/src/github.com/containers/libpod"
when: podman_podman_buildok
#- name: Install Podman [or so it says]
# make:
# target: install
# chdir: "{{ podman.buildDir }}/src/github.com/containers/libpod"
# when: podman_podman_buildok
2 changes: 1 addition & 1 deletion tasks/install_skopeo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- name: Clone Skopeo (conmon) Repo
git:
repo: https://github.com/containers/skopeo/
version: v1.0.0
version: v1.1.1
dest: "{{ podman.buildDir }}/src/github.com/containers/skopeo/"
update: no
become_user: "{{ ansible_user }}"
Expand Down