Inline all commands
This commit is contained in:
parent
4f02999d00
commit
353b3dfb48
10
functions
10
functions
@ -26,17 +26,11 @@ 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"
|
||||||
ansible-galaxy \
|
ansible-galaxy install --force --role-file "$requirements"
|
||||||
install \
|
|
||||||
--force \
|
|
||||||
--role-file "$requirements"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dokku_col_log_info1_quiet "$play_path file found"
|
dokku_col_log_info1_quiet "$play_path file found"
|
||||||
ansible-playbook \
|
ansible-playbook --inventory "$(hostname)", --connection local "$play_path"
|
||||||
--inventory "$(hostname)", \
|
|
||||||
--connection local \
|
|
||||||
"$play_path"
|
|
||||||
|
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user