2020-10-01 00:59:50 +00:00
|
|
|
---
|
|
|
|
- name: ensure podman group
|
|
|
|
group:
|
|
|
|
name: podman
|
|
|
|
state: present
|
|
|
|
system: True
|
|
|
|
|
|
|
|
- name: ensure podman user
|
|
|
|
user:
|
|
|
|
name: podman
|
|
|
|
state: present
|
|
|
|
group: podman
|
|
|
|
system: True
|
|
|
|
|
|
|
|
- name: ensure podman is installed
|
|
|
|
apt:
|
2021-08-16 01:30:56 +00:00
|
|
|
name:
|
|
|
|
- fuse-overlayfs
|
2021-09-09 02:39:07 +00:00
|
|
|
- podman
|
|
|
|
- slirp4netns
|
2021-08-16 01:30:56 +00:00
|
|
|
- uidmap
|
2020-10-01 00:59:50 +00:00
|
|
|
state: present
|
|
|
|
|
2021-09-09 02:39:07 +00:00
|
|
|
- name: ensure containers.conf is configured
|
|
|
|
file:
|
|
|
|
src: containers.conf
|
|
|
|
dest: /etc/containers/containers.conf
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
|
|
|
|
2021-08-16 01:30:56 +00:00
|
|
|
- name: enable podman
|
|
|
|
systemd:
|
|
|
|
name: podman
|
|
|
|
state: started
|
2021-09-09 02:39:07 +00:00
|
|
|
enabled: False
|
2021-08-16 01:30:56 +00:00
|
|
|
daemon_reload: True
|
|
|
|
changed_when: False
|
2020-10-01 00:59:50 +00:00
|
|
|
...
|