|
|
@ -117,8 +117,7 @@ |
|
|
|
|
|
|
|
- name: Install epel-release on RedHat/CentOS |
|
|
|
shell: rpm -qa | grep epel-release || rpm -ivh {{ epel_rpm_download_url }} |
|
|
|
when: ansible_distribution in ["CentOS","RedHat"] and |
|
|
|
ansible_distribution_major_version >= 7 |
|
|
|
when: ansible_distribution in ["CentOS","RedHat"] |
|
|
|
changed_when: False |
|
|
|
tags: bootstrap-os |
|
|
|
|
|
|
@ -182,7 +181,6 @@ |
|
|
|
|
|
|
|
- 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 in ["CentOS","RedHat"] |
|
|
|
tags: bootstrap-os |
|
|
|
|