Add growpart role to allow growing the root partition on CentOS

At least the OS images from Azure do not grow the root FS automatically.
This commit is contained in:
Alexander Block
2016-12-09 13:27:50 +01:00
parent 4e34803b1e
commit 9fd14cb6ea
2 changed files with 29 additions and 0 deletions

View File

@@ -180,3 +180,9 @@
- include: resolvconf.yml
tags: [bootstrap-os, resolvconf]
- include: growpart-centos-7.yml
when: ansible_distribution in ["CentOS","RedHat"] and
ansible_distribution_major_version >= 7
tags: bootstrap-os