mirror of
https://github.com/optim-enterprises-bv/openstack-helm-infra.git
synced 2026-01-11 01:41:30 +00:00
Add support for out of branch variables
This change allows users of the gate script to optionally override the location of the ansible inventory and variables files, so that they can live outside of the source tree. Change-Id: Ibe7666ce366c7ad34e8ee6ff5ef3f23589aa10ce
This commit is contained in:
@@ -18,8 +18,8 @@ set -ex
|
||||
: ${WORK_DIR:="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../../.."}
|
||||
export DEPLOY=${1:-"full"}
|
||||
export MODE=${2:-"local"}
|
||||
export INVENTORY=${WORK_DIR}/tools/gate/devel/${MODE}-inventory.yaml
|
||||
export VARS=${WORK_DIR}/tools/gate/devel/${MODE}-vars.yaml
|
||||
export INVENTORY=${3:-${WORK_DIR}/tools/gate/devel/${MODE}-inventory.yaml}
|
||||
export VARS=${4:-${WORK_DIR}/tools/gate/devel/${MODE}-vars.yaml}
|
||||
|
||||
function ansible_install {
|
||||
cd /tmp
|
||||
|
||||
Reference in New Issue
Block a user