1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 11:12:06 +00:00

Soften recommendation to edit $LOCAL_VARS_FILE

This commit is contained in:
A Holt 2020-11-05 07:54:19 -05:00 committed by GitHub
parent 7f93ef63b5
commit 72b86db3b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ grep -q "^${ROLE_VAR}_install:\s\+[Ff]alse\b" $LOCAL_VARS_FILE && INSTALL=false
grep -q "^${ROLE_VAR}_install:\s\+[Tt]rue\b" $LOCAL_VARS_FILE && INSTALL=true
if ! $INSTALL; then
echo -e "\e[1m'${ROLE_VAR}_install: True' MUST BE SET!\e[0m\n"
echo -e "Usually it's best to set this in: $LOCAL_VARS_FILE\n"
echo -e "Usually it's best to set variables in: $LOCAL_VARS_FILE\n"
echo -n "Just for now, pass '${ROLE_VAR}_install: True' directly to Ansible? [Y/n] "
read ans < /dev/tty
echo