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

more fixes to get the pipeline running again

parent 4ace75bf
No related branches found
No related tags found
3 merge requests!297Cicd merge back,!284Cicd,!282CICD
...@@ -10,7 +10,7 @@ cd CICD ...@@ -10,7 +10,7 @@ cd CICD
STACKNAME=CICD$STACKNAME STACKNAME=CICD$STACKNAME
echo "[ansible_create_cluster_script] Prefixing the Stackname with CICD because heatcicdwrapper does he same" 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 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 -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 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