File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 5353
5454 # epel_rpm: "http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm"
5555 asmlib_rpm : " {% if ansible_distribution_major_version|int==6%}{{asmlib_rpm_el6}}{%elif ansible_distribution_major_version|int==7 %}{{asmlib_rpm_el7}}{% else %}None{% endif %}"
56- asmlibsupport_rpm : " {% if ansible_distribution == 'RedHat' %}{% if ansible_distribution_major_version|int==6%}{{asmlibsupport_rpm_el6}}{%elif ansible_distribution_major_version|int==7 %}{{asmlibsupport_rpm_el7}}{% else %}oracleasm-support{% endif %}{% else %}oracleasm-support{% endif %}"
56+ asmlibsupport_rpm : " {% if ansible_os_family == 'RedHat' %}{% if ansible_distribution_major_version|int==6%}{{asmlibsupport_rpm_el6}}{%elif ansible_distribution_major_version|int==7 %}{{asmlibsupport_rpm_el7}}{% else %}oracleasm-support{% endif %}{% else %}oracleasm-support{% endif %}"
5757 asmlib_rpm_el6 : " http://download.oracle.com/otn_software/asmlib/oracleasmlib-2.0.4-1.el6.x86_64.rpm"
5858 asmlib_rpm_el7 : " http://download.oracle.com/otn_software/asmlib/oracleasmlib-2.0.12-1.el7.x86_64.rpm"
5959 asmlib_rpm_sles : " http://oss.oracle.com/projects/oracleasm-support/dist/files/RPMS/sles12/amd64/2.1.8/oracleasm-support-2.1.8-1.SLE12.x86_64.rpm"
6060 asmlibsupport_rpm_el6 : " http://oss.oracle.com/projects/oracleasm-support/dist/files/RPMS/rhel6/amd64/2.1.8/oracleasm-support-2.1.8-1.el6.x86_64.rpm"
61- asmlibsupport_rpm_el7 : " http://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracleasm-support-2.1.8-3.el7.x86_64.rpm"
61+ asmlibsupport_rpm_el7 : " https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracleasm-support-2.1.11-2.el7.x86_64.rpm"
62+ # asmlibsupport_rpm_el7: "http://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackage/oracleasm-support-2.1.8-3.el7.x86_64.rpm"
6263
6364 # ol6_repo_file: public-yum-ol6.repo
6465 repo_dir : /etc/yum.repos.d/
Original file line number Diff line number Diff line change 202202
203203 # create partition only when device != pvname
204204 - name : filesystem | Create partition and pv
205- shell : parted -a optimal {{ item.1.device }} "mklabel gpt mkpart primary 1 -1"
205+ shell : parted -a optimal -s {{ item.1.device }} "mklabel gpt mkpart primary 1 -1"
206206 args :
207207 creates : " {{ item.1.pvname }}"
208208 with_subelements :
You can’t perform that action at this time.
0 commit comments