Don't double quote rsync options

We needed to in Ansible 2.1 - but in 2.3 it breaks things.

Change-Id: Iecac280fdcbbf89ad28bd2e09936eed222bdc373
This commit is contained in:
Monty Taylor 2017-09-22 18:00:50 -05:00
parent 7c9824c837
commit baba1d70bc
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 3 additions and 3 deletions

View File

@ -542,9 +542,9 @@ class Job:
# want no matter how deep it is), exclude anything that
# doesn't match the thing we want or is a directory, then get
# rid of empty directories left over at the end.
rsync_opts = ['--include="%s"' % source,
'--include="*/"',
'--exclude="*"',
rsync_opts = ['--include=%s' % source,
'--include=*/',
'--exclude=*',
'--prune-empty-dirs']
return rsync_opts