ansible-edda/playbooks/tasks/services/a-common/00-podman.yml

20 lines
360 B
YAML

- name: Create a dataset for root containers
zfs:
name: rpool/var/lib/containers
state: present
extra_zfs_properties:
"com.sun:auto-snapshot": "false"
when:
is_zfs
- name: Install podman
apt:
name: podman
register: podman_install
# Required for podman.
- name: Reboot machine
reboot:
when:
podman_install is changed