Use more logging

This commit is contained in:
Luke Murphy 2020-03-20 01:02:52 +01:00
parent 75fda62af1
commit 8748b09dce
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -20,14 +20,16 @@ function run_playbook() {
if [[ -f "$requirements" ]]; then
dokku_col_log_info1_quiet "$requirements file found"
dokku_col_log_info1_quiet "Using $ANSIBLE_ROLES_PATH as role path"
ansible-galaxy \
install \
--force \
--roles-path "$DOKKU_LIB_ROOT/data/ansible/$APP/roles" \
--roles-path "$ANSIBLE_ROLES_PATH" \
--role-file "$requirements"
fi
dokku_col_log_info1_quiet "$play_path file found"
dokku_col_log_info1_quiet "Using $ANSIBLE_LIBRARY as module path"
ansible-playbook \
--inventory "$(hostname)", \
--connection local \