refactor(luks): use system_cfg.luks directly across roles

This commit is contained in:
2026-02-11 19:26:51 +01:00
parent 8c0716508e
commit 7a76f58384
6 changed files with 45 additions and 62 deletions

View File

@@ -15,10 +15,10 @@ virtualization_xen_disk_path: /var/lib/xen/images
virtualization_tpm2_enabled: >-
{{
(partitioning_luks_enabled | bool)
and (partitioning_luks_auto_decrypt | bool)
(system_cfg.luks.enabled | bool)
and (system_cfg.luks.auto | bool)
and (
(partitioning_luks_auto_decrypt_method | lower)
(system_cfg.luks.method | lower)
== 'tpm2'
)
}}