jjb: xci: xci-start-new-vm: Fix passing YAML var files to Ansible 59/57259/1
authorMarkos Chandras <mchandras@suse.de>
Thu, 10 May 2018 09:46:33 +0000 (10:46 +0100)
committerMarkos Chandras <mchandras@suse.de>
Thu, 10 May 2018 09:46:33 +0000 (10:46 +0100)
When passing a YAML variables file to Ansible, we need to prefix it
with '@'.

Change-Id: I884f4698a1033cca9ad55bf3592e1dd817273f81
Signed-off-by: Markos Chandras <mchandras@suse.de>
jjb/xci/xci-start-new-vm.sh

index e68b931..1749328 100755 (executable)
@@ -68,7 +68,7 @@ export BUILD_TAG=$BUILD_TAG
 export NODE_NAME=$NODE_NAME
 
 if [[ ! -z ${WORKSPACE+x} && $GERRIT_PROJECT != "releng-xci" ]]; then
-    export XCI_ANSIBLE_PARAMS="-e /home/devuser/releng-xci/scenario_overrides.yml"
+    export XCI_ANSIBLE_PARAMS="-e @/home/devuser/releng-xci/scenario_overrides.yml"
 fi
 
 cd xci