setup, if BRANCH is already set, don't use main.
This commit is contained in:
@@ -7,7 +7,9 @@ DIR="$(dirname -- "${BASH_SOURCE[0]}")"
|
||||
PROG="$(basename -- "${BASH_SOURCE[0]}")"
|
||||
LOCAL=$DIR/local.yml
|
||||
URL="https://git.hyperling.com/me/env-ansible"
|
||||
BRANCH="main"
|
||||
if [[ -z $BRANCH ]]; then
|
||||
export BRANCH="main"
|
||||
fi
|
||||
|
||||
LINUX_HOSTS_DIR=/etc/ansible
|
||||
LINUX_HOSTS_FILE="$LINUX_HOSTS_DIR/hosts"
|
||||
|
||||
Reference in New Issue
Block a user