Henry Finucane
9fd91bec5d
Make 'compress' optional
2014-07-12 10:13:04 -07:00
Mikhail Emelchenkov
cadb57f446
Fixed incorrect handling of paths contaiin whitespaces
2014-05-13 17:05:44 +04:00
James Cammarata
b53bf7c8b1
Minor tweak to rsync_path construction in synchronize module
...
Fixes #7182
2014-04-29 15:47:16 -05:00
Skyler Leigh Amador
6eb8759ec5
Remove --timeout option to rsync from synchronize defaults
...
The current 10-second default timeout for rsync seems to be behind issue #6809 .
As a workaround for the underlying issue in rsync when different versions are
used on the source and destination sides, don't include the timeout option
unless the user specifies a timeout > 0.
2014-04-27 20:21:54 -07:00
James Tanner
0f82a2b53c
Addresses #6702 Remove version_added from description string
2014-04-11 11:18:05 -04:00
James Tanner
f2c9c2c141
Addresses #6702 set version_added for rsync_opts
2014-04-11 11:04:05 -04:00
jctanner
7a6267690e
Merge pull request #6702 from jjshoe/devel
...
Allow you to pass in arbitrary rsync options
2014-04-11 10:43:14 -04:00
Michael DeHaan
a8b345ad38
Repairs for documentation build.
2014-03-28 14:57:29 -04:00
Michael DeHaan
f596ee8850
Slight docs tweak, split lines according to code standards
2014-03-28 14:04:59 -04:00
Andrea.Mandolo
2a66f356b1
correct documentation comment and version_added in "synchronize" module
2014-03-28 14:04:59 -04:00
Andrea.Mandolo
7cd21a47ef
Add STDOUT lines in response of "synchronize" module
2014-03-28 14:04:59 -04:00
Andrea.Mandolo
33b440ac9f
Add "checksum" option support to 'synchronize' module
2014-03-28 14:04:59 -04:00
jjshoe
a5794f5d8c
Allow you to pass in arbitrary rsync options. I also added help for it, and what version it was added in.
2014-03-27 08:00:20 -05:00
jjshoe
e62b38c250
Show argument dependency
...
failed: [192.168.1.2] => {"cmd": "rsync --delay-updates -FF --compress --timeout=10 --delete-after --rsh 'ssh -i /home/jjshoe/.vagrant.d/insecure_private_key -o StrictHostKeyChecking=no' --rsync-path 'sudo rsync' --out-format='<<CHANGED>>%i %n%L' /tmp/app vagrant@192.168.1.2:/home/ubuntu/app", "failed": true, "item": "", "rc": 1}
msg: rsync: --delete does not work without --recursive (-r) or --dirs (-d).
rsync error: syntax or usage error (code 1) at main.c(1453) [client=3.0.9]
2014-03-26 08:32:55 -05:00
James Tanner
7c263fcdad
Fixes #6590 add set_remote_user parameter to synchronize
...
This allows usage of custom ssh configs for remote hosts where
the inventory user does not match the configured user.
2014-03-20 13:56:07 -04:00
James Tanner
fc33860e5d
Force command action to not be executed by the shell unless specifically enabled
2014-03-10 16:13:30 -05:00
jctanner
552ce8b68c
Merge pull request #5051 from deontologician/patch-1
...
Added -FF flag to rsync invocation in synchronize
2014-02-05 12:02:48 -05:00
jctanner
e13a10def7
Merge pull request #5127 from ovcharenko/patches
...
synchronize module: Added existing_only options to skip creating new files on receiver
2014-02-05 11:49:05 -05:00
Wim
7b8918d37c
Add support for --copy-links
2014-01-29 23:05:51 +01:00
Aleksey Ovcharenko
d8b160d385
Downgraded module version_added.
2014-01-03 17:22:10 +02:00
Peter Salvatore
4c168abccc
fix typo in synchronize module
2013-12-18 13:06:35 -08:00
Aleksey Ovcharenko
1b2d359a69
Added version_added
2013-12-16 19:20:02 +02:00
James Tanner
f210e0c862
Fixes #5109 synchronize module ssh port
...
Added a parameter for dest_port and also check ansible_ssh_port inventory variable.
2013-12-03 14:48:20 -05:00
James Tanner
38edad70ac
Fixes #5023 Convert all modules to use new snippet import pattern
2013-12-02 15:11:23 -05:00
Aleksey Ovcharenko
8413552642
Fixed a typo.
2013-12-02 16:35:44 +02:00
Josh Kuhn
c2a59a97c4
Added note about .rsync-filter files, with example
2013-11-25 15:12:58 -05:00
Josh Kuhn
eccaf457af
Added -FF flag to rsync invocation in synchronize
...
The `-FF` option causes rsync to look for files in the source directory named `.rsync-filter` and uses them to filter directories underneath them. If no `.rsync-filter` files are found, the behavior is identical to the command run without the -FF option. This flag does not sync the .rsync-filter files themselves.
This change should be backwards compatible and not produce surprising behavior for users, since they are unlikely to create `.rsync-filter` files unintentionally.
2013-11-25 12:27:58 -05:00
Aleksey Ovcharenko
bb3a23d40a
Added existing_only options to skip creating new files on receiver
2013-11-22 23:59:57 +02:00
James Tanner
7b3fbeee16
Addresses #4676 Add module notes about the behavior of sudo and the destination paths within the synchronize module.
2013-11-04 12:19:31 -05:00
James Tanner
403469bf19
Update synchronize docstrings for rsync_timeout parameter
2013-11-04 10:57:08 -05:00
James Tanner
ae1248dee6
Add a timeout to the synchronize module to prevent infinite hangs while waiting on passwords for misconfigured users
2013-11-04 10:52:44 -05:00
Timothy Appnel
4e8f5eaef5
Added docs for archive options in sychronize module. Added missing default value for dirs option.
2013-09-19 03:17:45 -04:00
Timothy Appnel
4cb2cb9bac
Modified changed marker in sychronize module
2013-09-19 03:17:45 -04:00
Timothy Appnel
d7c737516e
Added archive options to sychronize module as suggested by @smoothify but with a different default scheme to keep param definitions to a minimum.
2013-09-19 03:17:45 -04:00
Timothy Appnel
10f336a97c
Added ingenious change detection trick from @smoothify though at the cost of verbosity controls. (Quiet or verbosity > 1 breaks change detection. Also added better use of module_common methods.
2013-09-19 03:17:44 -04:00
Timothy Appnel
35068527db
Removed busted tmp_dir option that was a bad idea to begin with.
2013-09-19 03:17:44 -04:00
Timothy Appnel
26585aae46
Updated version_added in sychronize module
2013-09-19 03:17:43 -04:00
Timothy Appnel
e692212a36
Return of sychronize module code for take 3
2013-09-19 03:17:43 -04:00
Michael DeHaan
9b1069c40a
Removing synchronize momentarily as it looks like this won't make 1.3 dates
2013-08-16 15:22:39 -04:00
Michael DeHaan
fad21a4af0
Add missing version_added to docs.
2013-08-11 16:21:00 -04:00
Michael DeHaan
24f72b78db
Style/docs cleanup, and also improve an error message.
2013-08-10 18:58:45 -04:00