From ae78adafa4175f72399526a0da1428d98087ef9e Mon Sep 17 00:00:00 2001 From: handreas <andreas.hamacher@monash.edu> Date: Wed, 29 Jan 2020 08:39:55 +0000 Subject: [PATCH] more fixes to get the pipeline running again Former-commit-id: 2cc90181798f870248a23bd680f17ce90aca09d4 --- CICD/ansible_create_cluster_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CICD/ansible_create_cluster_script.sh b/CICD/ansible_create_cluster_script.sh index ad1d8209..3aa506f2 100755 --- a/CICD/ansible_create_cluster_script.sh +++ b/CICD/ansible_create_cluster_script.sh @@ -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 -- GitLab