Inline all commands

This commit is contained in:
Luke Murphy 2020-03-20 22:42:49 +01:00
parent 4f02999d00
commit 353b3dfb48
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 2 additions and 8 deletions

View File

@ -26,17 +26,11 @@ function run_playbook() {
if [[ -f "$requirements" ]]; then
dokku_col_log_info1_quiet "$requirements file found"
ansible-galaxy \
install \
--force \
--role-file "$requirements"
ansible-galaxy install --force --role-file "$requirements"
fi
dokku_col_log_info1_quiet "$play_path file found"
ansible-playbook \
--inventory "$(hostname)", \
--connection local \
"$play_path"
ansible-playbook --inventory "$(hostname)", --connection local "$play_path"
popd >/dev/null
}