We need cloud-utils for growpart apparently
This commit is contained in:
parent
bf6e2b560f
commit
ef7c77bccd
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: install cloud-utils
|
||||||
|
yum: pkg=cloud-utils state=installed
|
||||||
|
|
||||||
- name: growpart /dev/vda1 partition (/) to full size
|
- name: growpart /dev/vda1 partition (/) to full size
|
||||||
action: command growpart /dev/vda 1
|
action: command growpart /dev/vda 1
|
||||||
register: growpart
|
register: growpart
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue