Skip to content

Commit

Permalink
Merge pull request #364 from redhatci/oc_stable_binary_4.14
Browse files Browse the repository at this point in the history
Select RHEL version for oc stable binary in SNO and UPI installers
  • Loading branch information
ramperher authored Jun 28, 2024
2 parents 493d8c2 + 832b029 commit e8acbb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/sno_installer/tasks/10_get_oc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
vars:
ocp_stable_url: https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp
ansible.builtin.unarchive:
src: "{{ ocp_stable_url }}/stable/openshift-client-linux.tar.gz"
src: "{{ ocp_stable_url }}/stable/openshift-client-linux-amd64-rhel{{ ansible_distribution_major_version }}.tar.gz"
dest: "{{ sno_tmp_dir.path }}"
remote_src: true
mode: "0755"
Expand Down
2 changes: 1 addition & 1 deletion roles/upi_installer/tasks/10_get_oc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
vars:
ocp_stable_url: https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp
ansible.builtin.unarchive:
src: "{{ ocp_stable_url }}/stable/openshift-client-linux.tar.gz"
src: "{{ ocp_stable_url }}/stable/openshift-client-linux-amd64-rhel{{ ansible_distribution_major_version }}.tar.gz"
dest: "{{ upi_tmp_dir.path }}"
remote_src: true
mode: "0755"
Expand Down

0 comments on commit e8acbb7

Please sign in to comment.