ansistrano / deploy

Ansible role to deploy scripting applications like PHP, Python, Ruby, etc. in a capistrano style
https://ansistrano.com
MIT License
2.37k stars 343 forks source link

workaround rsync quoting bug #237

Closed syhe closed 7 years ago

syhe commented 7 years ago

In Ansible 2.3, the way the rsync command line is built changed (see ansible/ansible#23575), which caused the default empty string not to be stripped, but included in the command. This in turn caused rsync to always include the current working directory as source (As this is what an empty argument apparently resolves to).

This workaround removes the default setting and adds a filter that omits the parameter if it's not defined.

Fixes #227 and related.

ricardclau commented 7 years ago

Thanks!