Skip to content

Commit

Permalink
Merge pull request #242 from rh-gvincent/fix-mor-oc
Browse files Browse the repository at this point in the history
Use mor_oc variable instead of oc_tool_path in mirror_ocp_release
  • Loading branch information
tonyskapunk authored Apr 9, 2024
2 parents d1da6f9 + 6b91b64 commit cd02037
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/mirror_ocp_release/tasks/download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- name: "Extract artifacts from release image"
ansible.builtin.command:
cmd: >
{{ oc_tool_path }} adm release extract
{{ mor_oc }} adm release extract
--registry-config {{ mor_auths_file }}
--tools
--from {{ mor_pull_url }}
Expand Down
2 changes: 1 addition & 1 deletion roles/mirror_ocp_release/tasks/installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- name: "Extract installer command from release image"
ansible.builtin.command: >
{{ oc_tool_path }} adm release extract
{{ mor_oc }} adm release extract
--registry-config={{ mor_auths_file }}
--command=openshift-baremetal-install
--from {{ mor_pull_url }}
Expand Down

0 comments on commit cd02037

Please sign in to comment.