fix(partitioning): add | bool to all system_cfg.features.cis.enabled checks

This commit is contained in:
2026-02-22 03:06:13 +01:00
parent b72816e985
commit 2f3fce42b5
6 changed files with 19 additions and 19 deletions

View File

@@ -7,8 +7,8 @@
- name: Mount filesystems and subvolumes
when:
- >-
system_cfg.features.cis.enabled or (
not system_cfg.features.cis.enabled and (
system_cfg.features.cis.enabled | bool or (
not (system_cfg.features.cis.enabled | bool) and (
(system_cfg.filesystem == 'btrfs' and item.path in ['/home', '/var/log', '/var/cache/pacman/pkg'])
or (item.path not in ['/home', '/var', '/var/log', '/var/log/audit', '/var/cache/pacman/pkg'])
)