fixes #31 podman install and config

This commit is contained in:
2024-12-04 12:23:43 +01:00
parent c0fe156b93
commit 78b0c972f1
4 changed files with 755 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
- name: Install Podman packages
apt:
state: present
name:
- podman
- podman-docker
- podman-compose
- containernetworking-plugins
- crun
- fuse-overlayfs
- name: Disable Docker Emulation warning
file:
path: /etc/containers/nodocker
state: touch
mode: 420
modification_time: preserve
access_time: preserve
- name: Configure containers.conf
copy:
dest: /etc/containers/containers.conf
src: containers.conf
- name: Configure cr.wks registry
copy:
dest: /etc/containers/registries.conf.d/cr.wks.conf
src: cr.wks.conf
- name: Configure docker-mirror registro
copy:
dest: /etc/contaners/registries.conf.d/dr-mirror.wks.conf
src: dr-mirror.wks.conf