Use more logging
This commit is contained in:
parent
75fda62af1
commit
8748b09dce
@ -20,14 +20,16 @@ function run_playbook() {
|
|||||||
|
|
||||||
if [[ -f "$requirements" ]]; then
|
if [[ -f "$requirements" ]]; then
|
||||||
dokku_col_log_info1_quiet "$requirements file found"
|
dokku_col_log_info1_quiet "$requirements file found"
|
||||||
|
dokku_col_log_info1_quiet "Using $ANSIBLE_ROLES_PATH as role path"
|
||||||
ansible-galaxy \
|
ansible-galaxy \
|
||||||
install \
|
install \
|
||||||
--force \
|
--force \
|
||||||
--roles-path "$DOKKU_LIB_ROOT/data/ansible/$APP/roles" \
|
--roles-path "$ANSIBLE_ROLES_PATH" \
|
||||||
--role-file "$requirements"
|
--role-file "$requirements"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dokku_col_log_info1_quiet "$play_path file found"
|
dokku_col_log_info1_quiet "$play_path file found"
|
||||||
|
dokku_col_log_info1_quiet "Using $ANSIBLE_LIBRARY as module path"
|
||||||
ansible-playbook \
|
ansible-playbook \
|
||||||
--inventory "$(hostname)", \
|
--inventory "$(hostname)", \
|
||||||
--connection local \
|
--connection local \
|
||||||
|
Reference in New Issue
Block a user