Skip to content

Commit

Permalink
quotes variable ansistrano_rsync_extra_params
Browse files Browse the repository at this point in the history
The extra rsync parameters shouldn't be checked by ansible. For example, it
wasn't possible to use multiple --include parameters (which is supported by
rsync), because ansible complained about double parameters.
  • Loading branch information
mvbeek-oefenweb committed Oct 27, 2015
1 parent 0aab55c commit e98942d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/update-code/rsync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
register: ansistrano_shared_rsync_copy_path

- name: ANSISTRANO | RSYNC | Rsync application files to remote shared copy
synchronize: src={{ ansistrano_deploy_from }} dest={{ ansistrano_shared_rsync_copy_path.stdout }} set_remote_user={{ ansistrano_rsync_set_remote_user }} recursive=yes delete=yes archive=yes compress=yes rsync_opts={{ ansistrano_rsync_extra_params }}
synchronize: src={{ ansistrano_deploy_from }} dest={{ ansistrano_shared_rsync_copy_path.stdout }} set_remote_user={{ ansistrano_rsync_set_remote_user }} recursive=yes delete=yes archive=yes compress=yes rsync_opts="{{ ansistrano_rsync_extra_params }}"

- name: ANSISTRANO | RSYNC | Deploy existing code to servers
command: cp -pr {{ ansistrano_shared_rsync_copy_path.stdout }} {{ ansistrano_release_path.stdout }}

0 comments on commit e98942d

Please sign in to comment.