diff --git a/bigboot.yml b/bigboot.yml index 9257183..f5bea84 100644 --- a/bigboot.yml +++ b/bigboot.yml @@ -1,12 +1,12 @@ --- -- name: Use bigboot role +- name: Resize the /boot parition to the desired size hosts: bigboot become: true gather_facts: true vars: - bigboot_size: 500M + bigboot_size: "{{ bigboot_new_size | default('') }}" roles: diff --git a/shrink_lv.yml b/shrink_lv.yml index 22f2248..7a5a39f 100644 --- a/shrink_lv.yml +++ b/shrink_lv.yml @@ -1,5 +1,5 @@ --- -- name: Shrink logical volumes +- name: Shrink specific logical volume to given size hosts: shrink_lv become: true gather_facts: true @@ -7,11 +7,8 @@ vars: shrink_lv_devices: - - device: /dev/mapper/test--vg01-test--lv01 - size: 80G - - - device: /dev/mapper/test--vg02-test--lv02 - size: 60G + - device: "{{ shrink_lv_logical_volume | default('') }}" + size: "{{ shrink_lv_volume_size | default('') }}" roles: