mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
runrole clarif: 'force '${ROLE_VAR}_install: True' directly to Ansible'
This commit is contained in:
parent
1ce74c939c
commit
67c4f4a194
1 changed files with 1 additions and 1 deletions
2
runrole
2
runrole
|
@ -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" ] &&
|
||||||
|
|
Loading…
Reference in a new issue