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

runrole clarif: 'force '${ROLE_VAR}_install: True' directly to Ansible'

This commit is contained in:
A Holt 2020-11-06 18:27:38 -05:00 committed by GitHub
parent 1ce74c939c
commit 67c4f4a194
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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