Set auto-snapshot to false on container datasets

This commit is contained in:
Wojciech Kozlowski 2022-10-10 20:44:12 +02:00
parent d690124d4d
commit dbd4904f1d
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,12 @@
- 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

View File

@ -10,6 +10,7 @@
extra_zfs_properties:
volsize: "100G"
refreservation: "none"
"com.sun:auto-snapshot": "false"
- name: Format zvol with ext4
filesystem: