Rename shorter command and add default

This commit is contained in:
Luke Murphy
2020-03-21 23:54:25 +01:00
parent e6aa8fa4d1
commit fe3baa4eb2
3 changed files with 22 additions and 6 deletions

16
subcommands/default Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
ansible_default_cmd() {
echo -e 'Usage: dokku ansible[:COMMAND]'
echo ''
echo 'Run ansible playbooks during deployment'
echo ''
echo 'Commands:'
cat<<help_content
ansible:vault-pass, Insert new vault password for encrypt/decrypt of passwords
help_content
}
ansible_default_cmd "$@"