fixes #31 podman install and config
This commit is contained in:
33
roles/podman/tasks/main.yaml
Normal file
33
roles/podman/tasks/main.yaml
Normal 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
|
||||
Reference in New Issue
Block a user