diff options
author | Markos Chandras <mchandras@suse.de> | 2018-03-12 09:50:06 +0000 |
---|---|---|
committer | Markos Chandras <mchandras@suse.de> | 2018-03-12 10:39:43 +0000 |
commit | 16b1131e8deb32df1eea1cf7c17d35ed4c29bb5f (patch) | |
tree | 89dc0c7a55903b9986bbac65240255088e04e83b /xci/xci-deploy.sh | |
parent | e286a9a4aad9bfca02e35c2486414d33a4f053d7 (diff) |
xci: Pass the XCI_PATH variable to all Ansible calls
The XCI_PATH variable is used by various playbooks to find the root
directory of the XCI repository so it's much cleaner to pass it on every
Ansible call.
Change-Id: Ifc0b77fa767e48bd1dc6daa44c6251c02983fd4d
Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/xci-deploy.sh')
-rwxr-xr-x | xci/xci-deploy.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xci/xci-deploy.sh b/xci/xci-deploy.sh index cf56151c..8decec05 100755 --- a/xci/xci-deploy.sh +++ b/xci/xci-deploy.sh @@ -64,6 +64,8 @@ source "$XCI_PATH/xci/config/${XCI_FLAVOR}-vars" source "$XCI_PATH/xci/installer/${XCI_INSTALLER}/env" &>/dev/null || true # source xci configuration source $XCI_PATH/xci/config/env-vars +# Make sure we pass XCI_PATH everywhere +export XCI_ANSIBLE_PARAMS+=" -e XCI_PATH=${XCI_PATH}" if [[ -z $(echo $PATH | grep "$HOME/.local/bin") ]]; then export PATH="$HOME/.local/bin:$PATH" |