Fix variable hierarchy

This commit is contained in:
2024-10-30 22:19:00 +01:00
parent e5660b0ba7
commit db1fd13623
5 changed files with 7 additions and 10 deletions

View File

@@ -36,7 +36,7 @@
pvs: "{{ install_drive }}{{ main_partition_suffix }}"
- name: Create LVM logical volumes
when: cis or (not cis and item.lv != 'var_log' and item.lv != 'var_log_audit')
when: cis | bool or item.lv not in ['var_log', 'var_log_audit']
community.general.lvol:
vg: sys
lv: "{{ item.lv }}"