Skip to content
Snippets Groups Projects
Commit ae78adaf authored by Andreas Hamacher's avatar Andreas Hamacher
Browse files

more fixes to get the pipeline running again

Former-commit-id: 2cc90181
parent 45822ac7
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ cd CICD
STACKNAME=CICD$STACKNAME
echo "[ansible_create_cluster_script] Prefixing the Stackname with CICD because heatcicdwrapper does he same"
python3 ../scripts/make_inventory.py static CICD$STACKNAME | tee ./files/inventory.$STACKNAME && chmod 755 ./files/inventory.$STACKNAME
python3 ../scripts/make_inventory.py static $STACKNAME | tee ./files/inventory.$STACKNAME && chmod 755 ./files/inventory.$STACKNAME
grep -qv "I could not find any resouces tagged with project_name:" ./files/inventory.$STACKNAME #fail if inventory file is empty
ansible -m ping -i files/inventory.$STACKNAME --key-file ../gc_key.pem all
ansible -i files/inventory.$STACKNAME --key-file ../gc_key.pem -a "sudo ls" all
......
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