osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/30475 )
Change subject: ansible/podman: configure storage driver vfs ......................................................................
ansible/podman: configure storage driver vfs
Use vfs instead of the default fuse based driver so we don't need to ensure that the host system has the fuse kernel module loaded and passes the fuse device into the lxc, where we are running the ansible rules and podman.
Related. OS#5365 Change-Id: I801e52204174f7c23c2f22f46fc550f5b79b195c
Change-Id: Ic6e317b3eb2068c3690d174700d02158efd87b2a --- A ansible/roles/podman/files/storage.conf M ansible/roles/podman/tasks/main.yml M ansible/setup-jenkins-slave.yml 3 files changed, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/75/30475/1
diff --git a/ansible/roles/podman/files/storage.conf b/ansible/roles/podman/files/storage.conf new file mode 100644 index 0000000..389a25c --- /dev/null +++ b/ansible/roles/podman/files/storage.conf @@ -0,0 +1,2 @@ +[storage] + driver = "vfs" diff --git a/ansible/roles/podman/tasks/main.yml b/ansible/roles/podman/tasks/main.yml index 45a712d..7f23396 100644 --- a/ansible/roles/podman/tasks/main.yml +++ b/ansible/roles/podman/tasks/main.yml @@ -7,3 +7,11 @@ - buildah # Has reasonable recommends needed for dns resolving etc. install_recommends: yes + +- name: "install storage.conf" + copy: + src: storage.conf + dest: "/home/{{ jenkins_user }}/.config/containers/" + mode: 0644 + owner: "{{ jenkins_user }}" + group: "{{ jenkins_user }}" diff --git a/ansible/setup-jenkins-slave.yml b/ansible/setup-jenkins-slave.yml index a909e13..82b8dbf 100644 --- a/ansible/setup-jenkins-slave.yml +++ b/ansible/setup-jenkins-slave.yml @@ -23,6 +23,7 @@ - docker
- name: podman + jenkins_user: osmocom-build tags: - podman