2022-10-10 20:44:12 +02:00
|
|
|
- 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
|
|
|
|
|
2022-09-26 23:10:48 +02:00
|
|
|
- name: Install podman
|
|
|
|
apt:
|
|
|
|
name: podman
|
|
|
|
register: podman_install
|
|
|
|
|
|
|
|
# Required for podman.
|
|
|
|
- name: Reboot machine
|
|
|
|
reboot:
|
|
|
|
when:
|
|
|
|
podman_install is changed
|