Don't always force it

This commit is contained in:
Luke Murphy 2020-03-21 00:08:58 +01:00
parent bc2f5a0e37
commit 58535c1ccc
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 1 additions and 2 deletions

View File

@ -28,7 +28,6 @@ Notes:
* Everything is copied into `$DOKKU_LIB_ROOT/data/ansible/$APP` on the `post-extract` hook.
* Dokku will make sure that your Ansible plays are run on the right hook against the Dokku server localhost.
* The `ansible-galaxy` install command is run with `--force` to ensure a clean slate on each hook execution.
## Example

View File

@ -24,7 +24,7 @@ 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 --role-file "$requirements"
fi
dokku_col_log_info1_quiet "Copying library modules into place"