2024-02-14 15:51:08 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
cd $(dirname "${BASH_SOURCE[0]}")
|
|
|
|
|
|
|
|
if [[ "$RUNNER_DEBUG" == "1" ]]; then
|
|
|
|
set -x
|
|
|
|
fi
|
|
|
|
|
|
|
|
REGION=$1
|
2024-07-24 14:45:02 +00:00
|
|
|
CLUSTER_NAME=$2
|
|
|
|
KEYCLOAK_SRC=$3
|
2024-02-14 15:51:08 +00:00
|
|
|
|
|
|
|
ansible-playbook -i ${CLUSTER_NAME}_${REGION}_inventory.yml keycloak.yml \
|
|
|
|
-e "keycloak_src=\"${KEYCLOAK_SRC}\""
|