|
@ -181,8 +181,14 @@ |
|
|
- include: resolvconf.yml |
|
|
- include: resolvconf.yml |
|
|
tags: [bootstrap-os, resolvconf] |
|
|
tags: [bootstrap-os, resolvconf] |
|
|
|
|
|
|
|
|
- include: growpart-centos-7.yml |
|
|
|
|
|
when: ansible_distribution in ["CentOS","RedHat"] and |
|
|
|
|
|
|
|
|
- name: Check if we are running inside a Azure VM |
|
|
|
|
|
stat: path=/var/lib/waagent/ |
|
|
|
|
|
register: azure_check |
|
|
|
|
|
tags: bootstrap-os |
|
|
|
|
|
|
|
|
|
|
|
- include: growpart-azure-centos-7.yml |
|
|
|
|
|
when: azure_check.stat.exists and |
|
|
|
|
|
ansible_distribution in ["CentOS","RedHat"] and |
|
|
ansible_distribution_major_version >= 7 |
|
|
ansible_distribution_major_version >= 7 |
|
|
tags: bootstrap-os |
|
|
tags: bootstrap-os |
|
|
|
|
|
|