Clear the line
This commit is contained in:
parent
d6e055822f
commit
c21de2b941
@ -50,7 +50,7 @@ dokku-ansible-deploy-vault-pass-cmd() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# shellcheck disable=SC2162 disable=SC2116 disable=SC2006
|
# shellcheck disable=SC2162 disable=SC2116 disable=SC2006
|
||||||
read -sp "Please enter your vault password for $APP: `echo $'\n> '`" VAULT_PASSWD
|
read -sp "Please enter your vault password for $APP: `echo $'\n> '`" VAULT_PASSWD; echo
|
||||||
|
|
||||||
if [[ ! -d "$DOKKU_LIB_ROOT/data/deploy.d/$APP" ]]; then
|
if [[ ! -d "$DOKKU_LIB_ROOT/data/deploy.d/$APP" ]]; then
|
||||||
dokku_col_log_info1_quiet "Creating $DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
dokku_col_log_info1_quiet "Creating $DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
||||||
@ -77,7 +77,7 @@ dokku-ansible-deploy-sudo-pass-cmd() {
|
|||||||
declare VARS_FILE="$DOKKU_LIB_ROOT/data/deploy.d/vars.yml"
|
declare VARS_FILE="$DOKKU_LIB_ROOT/data/deploy.d/vars.yml"
|
||||||
|
|
||||||
# shellcheck disable=SC2162 disable=SC2116 disable=SC2006
|
# shellcheck disable=SC2162 disable=SC2116 disable=SC2006
|
||||||
read -sp "Please enter your Dokku system user sudo password: `echo $'\n> '`" SUDO_PASSWD
|
read -sp "Please enter your Dokku system user sudo password: `echo $'\n> '`" SUDO_PASSWD; echo
|
||||||
|
|
||||||
{ echo "---";
|
{ echo "---";
|
||||||
echo "ansible_become_password: \"$SUDO_PASSWD\""; } > "$VARS_FILE"
|
echo "ansible_become_password: \"$SUDO_PASSWD\""; } > "$VARS_FILE"
|
||||||
|
Reference in New Issue
Block a user