From: Markos Chandras Date: Thu, 10 May 2018 09:46:33 +0000 (+0100) Subject: jjb: xci: xci-start-new-vm: Fix passing YAML var files to Ansible X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=363b1188fcd28a62c2892a9dcb0f0ad3c55c17bc;p=releng.git jjb: xci: xci-start-new-vm: Fix passing YAML var files to Ansible When passing a YAML variables file to Ansible, we need to prefix it with '@'. Change-Id: I884f4698a1033cca9ad55bf3592e1dd817273f81 Signed-off-by: Markos Chandras --- diff --git a/jjb/xci/xci-start-new-vm.sh b/jjb/xci/xci-start-new-vm.sh index e68b931db..174932813 100755 --- a/jjb/xci/xci-start-new-vm.sh +++ b/jjb/xci/xci-start-new-vm.sh @@ -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