Improving logging
This commit is contained in:
parent
c611603eb5
commit
be6a9a1a73
2
commands
2
commands
@ -16,7 +16,7 @@ help_content
|
||||
}
|
||||
|
||||
if [[ $1 = "ansible:help" ]]; then
|
||||
echo -e 'Usage: dokku ansible[:COMMAND]'
|
||||
echo -e 'Usage: dokku ansible:COMMAND'
|
||||
echo ''
|
||||
echo 'Run ansible playbooks during deployment'
|
||||
echo ''
|
||||
|
@ -5,7 +5,9 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
|
||||
cmd-ansible-default() {
|
||||
dokku_log_fail "Please use one of the specified commands, run dokku ansible:help"
|
||||
declare desc="Run ansible playbooks during deployment"
|
||||
local cmd="ansible"
|
||||
dokku_log_fail "Missing command, please run 'dokku ansible:help'"
|
||||
}
|
||||
|
||||
cmd-ansible-default "$@"
|
||||
|
Reference in New Issue
Block a user