Improved README and more explicity ansible commands

This commit is contained in:
Luke Murphy
2020-03-19 23:54:34 +01:00
parent 76489c3fea
commit 394fc3ed9e
2 changed files with 12 additions and 8 deletions

View File

@ -15,9 +15,9 @@ function run_playbook() {
if [[ -f "$requirements" ]]; then
dokku_col_log_info1_quiet "$requirements file found"
ansible-galaxy install -fr "$requirements"
ansible-galaxy install -vvv --force --role-file "$requirements"
fi
dokku_col_log_info1_quiet "$play_path file found"
ansible-playbook -i 127.0.0.1, -c local "$play_path"
ansible-playbook --inventory "$(hostname)", --connection local "$play_path"
}