67f6f2f657
Closes #26730 Signed-off-by: Ryan Emerson <remerson@redhat.com>
15 lines
300 B
Bash
Executable file
15 lines
300 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
cd $(dirname "${BASH_SOURCE[0]}")
|
|
|
|
if [[ "$RUNNER_DEBUG" == "1" ]]; then
|
|
set -x
|
|
fi
|
|
|
|
REGION=$1
|
|
MVN_PARAMS=${@:2}
|
|
|
|
CLUSTER_NAME=${CLUSTER_NAME:-"keycloak_$(whoami)"}
|
|
|
|
ansible-playbook -i ${CLUSTER_NAME}_${REGION}_inventory.yml mvn.yml \
|
|
-e "mvn_params=\"${MVN_PARAMS}\""
|