update comments
This commit is contained in:
parent
5dd3194dda
commit
e984eb06c4
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
||||||
- ${vars}/${ansible_distribution}.yml
|
- ${vars}/${ansible_distribution}.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: growpart the second partition (/) to full size
|
- name: growpart /dev/vda1 partition (/) to full size
|
||||||
action: command growpart /dev/vda 1
|
action: command growpart /dev/vda 1
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
register: growpart
|
register: growpart
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
action: command resize2fs /dev/vda1
|
action: command resize2fs /dev/vda1
|
||||||
when_integer: ${growpart.rc} == 0
|
when_integer: ${growpart.rc} == 0
|
||||||
|
|
||||||
- name: put the mbr back - b/c the resize breaks it
|
- name: put the mbr back - b/c the resize breaks booting otherwise
|
||||||
action: shell cat /usr/share/syslinux/mbr.bin > /dev/vda
|
action: shell cat /usr/share/syslinux/mbr.bin > /dev/vda
|
||||||
when_integer: ${growpart.rc} == 0
|
when_integer: ${growpart.rc} == 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue