refactor(partitioning): extract VG name to defaults variable

This commit is contained in:
2026-02-20 21:16:25 +01:00
parent c439e9741e
commit cd8e477534
4 changed files with 14 additions and 14 deletions

View File

@@ -2,7 +2,7 @@
- name: Create and format XFS logical volumes
when: system_cfg.features.cis.enabled or item.lv not in ['home', 'var', 'var_log', 'var_log_audit']
community.general.filesystem:
dev: /dev/sys/{{ item.lv }}
dev: /dev/{{ partitioning_vg_name }}/{{ item.lv }}
fstype: xfs
opts: "{{ '-m bigtime=0 -i nrext64=0,exchange=0 -n parent=0' if is_rhel | bool else omit }}"
force: true