Skip to content
Snippets Groups Projects
Commit 860467df authored by Andreas Hamacher's avatar Andreas Hamacher Committed by Jafar Lie
Browse files

testing modifications on make_inventory script

Former-commit-id: 2f4a5d82
parent 59ecee7c
No related branches found
No related tags found
No related merge requests found
......@@ -217,4 +217,4 @@ clean:
script:
- source ./$NECTAR_ALLOCATION-openrc.sh
- bash -x ./CICD/heat/heatcicdwrapper.sh delete_if_exists $STACKNAME
when: manual
\ No newline at end of file
#when: manual
\ No newline at end of file
......@@ -53,6 +53,8 @@ def gatherInfo(md_key,md_value,authDict,project_id,inventory):
for nn in server.networks.keys():
if 'internal' in nn:
network_name = nn
else:
inventory['_meta']['hostvars'][hostname]['public_host'] = server.networks[nn][0]
if network_name == None:
network_name = list(server.networks.keys())[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment