Ansible-Bootstrap/roles/partitioning/tasks/xfs.yml

14 lines
311 B
YAML
Raw Normal View History

2024-03-19 23:02:50 +01:00
---
- name: Create and format XFS logical volumes
when: cis == true or item.lv not in ['var_log', 'var_log_audit']
filesystem:
dev: '/dev/sys/{{ item.lv }}'
fstype: xfs
2024-07-11 22:09:58 +02:00
force: true
2024-03-19 23:02:50 +01:00
loop:
- { lv: root }
- { lv: home }
- { lv: var }
- { lv: var_log }
2024-07-11 22:09:58 +02:00
- { lv: var_log_audit }