xfs resize

This commit is contained in:
Charlie Mordant
2020-06-07 17:17:48 +02:00
parent 96fd3b2b06
commit ed0eb14ce8
4 changed files with 51 additions and 56 deletions
+11 -5
View File
@@ -1,11 +1,17 @@
---
- name: create_vg | creating new LVM volume group(s)
lvg:
vg: "{{ item.vgname }}"
pvs: "{{ item.disks | join(',') }}"
vg: "{{ vg.vgname }}"
pvs: "{{ vg.disks | join(',') }}"
state: present
become: true
loop: "{{ lvm_groups }}"
when:
- item.create is defined
- item.create|bool
- vg.create is defined
- vg.create|bool
- name: manage_lvm | loop over logical volume group(s) to create logical volumes
include_tasks: create_lv.yml
loop: "{{ vg.lvnames | default([]) }}"
loop_control:
loop_var: lv