forked from redhat-performance/jetpack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for the hardware type 'r640' that belongs to different racks
This PR adds support for only OSP17 Partially addresses redhat-performance#523
- Loading branch information
1 parent
e05bed9
commit 2ae7297
Showing
4 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# ocpinventory.json for MAC addresses | ||
--- | ||
- name: Download ocpinventory.json | ||
get_url: | ||
url: "{{ alias.lab_url }}/cloud/{{ cloud_name }}_ocpinventory.json" | ||
dest: ~/ | ||
mode: '0644' | ||
force: yes | ||
when: lab_name == "alias" | ||
|
||
- name: Download ocpinventory.json | ||
get_url: | ||
url: "{{ scale.lab_url }}/cloud/{{ cloud_name }}_ocpinventory.json" | ||
dest: ~/ | ||
mode: '0644' | ||
force: yes | ||
when: lab_name == "scale" | ||
|
||
- name: set fact for ocpinventory file | ||
set_fact: | ||
ocpinventory_file: "~/{{ cloud_name }}_ocpinventory.json" | ||
|
||
- name: read ocpinventory file | ||
set_fact: | ||
ocpinventory_content: "{{ lookup('file', '{{ ocpinventory_file }}') | from_json }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters