This is xfs on rhel7
This commit is contained in:
parent
8ca70c59d1
commit
746111d59b
1 changed files with 4 additions and 4 deletions
|
@ -39,12 +39,12 @@
|
|||
failed_when: growpart.rc == 2
|
||||
|
||||
- name: resize the /dev/vda 1 fs
|
||||
action: command resize2fs /dev/vda1
|
||||
action: command xfs_growfs /dev/vda1
|
||||
when: growpart.rc == 0
|
||||
|
||||
- name: put the mbr back - b/c the resize breaks booting otherwise
|
||||
action: shell cat /usr/share/syslinux/mbr.bin > /dev/vda
|
||||
when: growpart.rc == 0
|
||||
# - name: put the mbr back - b/c the resize breaks booting otherwise
|
||||
# action: shell cat /usr/share/syslinux/mbr.bin > /dev/vda
|
||||
# when: growpart.rc == 0
|
||||
|
||||
|
||||
- include: "{{ tasks }}/cloud_setup_basic.yml"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue