refactor(luks): use system_cfg.luks directly across roles
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
opts: >-
|
||||
{{
|
||||
'-K'
|
||||
if (partitioning_luks_enabled | bool)
|
||||
and not ('discard' in (partitioning_luks_options | lower))
|
||||
if (system_cfg.luks.enabled | bool)
|
||||
and not ('discard' in (system_cfg.luks.options | lower))
|
||||
else omit
|
||||
}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user