Andrea.Mandolo
33b440ac9f
Add "checksum" option support to 'synchronize' module
11 years ago
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]
11 years ago
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.
11 years ago
James Tanner
fc33860e5d
Force command action to not be executed by the shell unless specifically enabled
11 years ago
jctanner
552ce8b68c
Merge pull request #5051 from deontologician/patch-1
...
Added -FF flag to rsync invocation in synchronize
11 years ago
jctanner
e13a10def7
Merge pull request #5127 from ovcharenko/patches
...
synchronize module: Added existing_only options to skip creating new files on receiver
11 years ago
Wim
7b8918d37c
Add support for --copy-links
11 years ago
Aleksey Ovcharenko
d8b160d385
Downgraded module version_added.
11 years ago
Peter Salvatore
4c168abccc
fix typo in synchronize module
11 years ago
Aleksey Ovcharenko
1b2d359a69
Added version_added
11 years ago
James Tanner
f210e0c862
Fixes #5109 synchronize module ssh port
...
Added a parameter for dest_port and also check ansible_ssh_port inventory variable.
11 years ago
James Tanner
38edad70ac
Fixes #5023 Convert all modules to use new snippet import pattern
11 years ago
Aleksey Ovcharenko
8413552642
Fixed a typo.
11 years ago
Josh Kuhn
c2a59a97c4
Added note about .rsync-filter files, with example
11 years ago
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.
11 years ago
Aleksey Ovcharenko
bb3a23d40a
Added existing_only options to skip creating new files on receiver
11 years ago
James Tanner
7b3fbeee16
Addresses #4676 Add module notes about the behavior of sudo and the destination paths within the synchronize module.
11 years ago
James Tanner
403469bf19
Update synchronize docstrings for rsync_timeout parameter
11 years ago
James Tanner
ae1248dee6
Add a timeout to the synchronize module to prevent infinite hangs while waiting on passwords for misconfigured users
11 years ago
Timothy Appnel
4e8f5eaef5
Added docs for archive options in sychronize module. Added missing default value for dirs option.
11 years ago
Timothy Appnel
4cb2cb9bac
Modified changed marker in sychronize module
11 years ago
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.
11 years ago
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.
11 years ago
Timothy Appnel
35068527db
Removed busted tmp_dir option that was a bad idea to begin with.
11 years ago
Timothy Appnel
26585aae46
Updated version_added in sychronize module
11 years ago
Timothy Appnel
e692212a36
Return of sychronize module code for take 3
11 years ago
Michael DeHaan
9b1069c40a
Removing synchronize momentarily as it looks like this won't make 1.3 dates
11 years ago
Michael DeHaan
fad21a4af0
Add missing version_added to docs.
11 years ago
Michael DeHaan
24f72b78db
Style/docs cleanup, and also improve an error message.
11 years ago