Add zstd toggle for btrfs and zram

This commit is contained in:
2026-01-02 18:47:32 +01:00
parent 696df925c6
commit 2891de8fef
5 changed files with 30 additions and 16 deletions

View File

@@ -19,7 +19,19 @@
path: /mnt
src: "{{ partitioning_root_device }}"
fstype: btrfs
opts: rw,relatime,compress=zstd:15,ssd,space_cache=v2,discard=async
opts: >-
{{
[
'rw',
'relatime',
partitioning_btrfs_compress_opt,
'ssd',
'space_cache=v2',
'discard=async'
]
| reject('equalto', '')
| join(',')
}}
state: mounted
- name: Enable quotas on Btrfs filesystem