Don't show passwords
This commit is contained in:
parent
85316d7be4
commit
4061f5fd26
@ -40,7 +40,7 @@ dokku-ansible-deploy-vault-pass-cmd() {
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2162 disable=SC2116 disable=SC2006
|
||||
read -p "Please enter your vault password for $APP: `echo $'\n> '`" VAULT_PASSWD
|
||||
read -sp "Please enter your vault password for $APP: `echo $'\n> '`" VAULT_PASSWD
|
||||
|
||||
if [[ ! -d "$DOKKU_LIB_ROOT/data/deploy.d/$APP" ]]; then
|
||||
dokku_col_log_info1_quiet "Creating $DOKKU_LIB_ROOT/data/deploy.d/$APP"
|
||||
@ -65,7 +65,7 @@ dokku-ansible-deploy-sudo-pass-cmd() {
|
||||
declare VARS_FILE="$DOKKU_LIB_ROOT/data/deploy.d/vars.yml"
|
||||
|
||||
# shellcheck disable=SC2162 disable=SC2116 disable=SC2006
|
||||
read -p "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 "ansible_become_password: \"$SUDO_PASSWD\""; } > "$VARS_FILE"
|
||||
|
Reference in New Issue
Block a user