Files
nomad-nummer5/ansible/roles/podman/tasks/main.yaml
Udo Waechter 6b825464a3
All checks were successful
continuous-integration/drone/push Build is passing
fixes #31 podman install and config
2024-12-04 12:23:43 +01:00

33 lines
735 B
YAML

- 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