Skip to content

Commit

Permalink
Quads changed the URL for the inventory
Browse files Browse the repository at this point in the history
Updating to point to the right URL

Signed-off-by: Joe Talerico aka rook <[email protected]>
  • Loading branch information
jtaleric committed Aug 22, 2024
1 parent 68f66f1 commit 874ff45
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ansible/roles/create-inventory/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@
# * Second machine is SNO cluster
#

- name: Set ocp inventory download url from lab wiki
- name: Set ocp inventory download url from lab wiki - scalelab
set_fact:
ocp_inventory_url: "https://{{ labs[lab]['quads'] }}/instack/{{ lab_cloud }}_ocpinventory.json"
when: ocp_inventory_override | string | length < 1
when: ocp_inventory_override | string | length < 1 and lab == scalelab

- name: Set ocp inventory download url from lab wiki - performancelab
set_fact:
ocp_inventory_url: "https://{{ labs[lab]['quads'] }}/cloud/{{ lab_cloud }}_ocpinventory.json"
when: ocp_inventory_override | string | length < 1 and lab == performancelab

- name: Set ocp inventory download url to override
set_fact:
Expand Down

0 comments on commit 874ff45

Please sign in to comment.