Merge changes from topics 'allow-pass-ansible-arguments', 'allow-pass-ansible-argumen...
authorMarkos Chandras <mchandras@suse.de>
Tue, 13 Mar 2018 16:20:20 +0000 (16:20 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Tue, 13 Mar 2018 16:20:20 +0000 (16:20 +0000)
* changes:
  xci: OSA: Fix warning about missing inventory file
  xci: Pass the XCI_PATH variable to all Ansible calls
  xci: Rename XCI_ANSIBLE_VERBOSITY to XCI_ANSIBLE_PARAMS

1  2 
xci/config/user-vars
xci/xci-deploy.sh

Simple merge
@@@ -61,9 -61,11 +61,11 @@@ source $XCI_PATH/xci/config/pinned-vers
  # source flavor configuration
  source "$XCI_PATH/xci/config/${XCI_FLAVOR}-vars"
  # source installer configuration
 -source "$XCI_PATH/xci/installer/${XCI_INSTALLER}/env" &>/dev/null || true
 +source "$XCI_PATH/xci/installer/${INSTALLER_TYPE}/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"