jjshoe
12c84dd6bd
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
ea5186ca63
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
ba0fec4f42
Force command action to not be executed by the shell unless specifically enabled
11 years ago
jctanner
f50f29f304
Merge pull request #5051 from deontologician/patch-1
...
Added -FF flag to rsync invocation in synchronize
11 years ago
jctanner
825a20780f
Merge pull request #5127 from ovcharenko/patches
...
synchronize module: Added existing_only options to skip creating new files on receiver
11 years ago
Wim
06576fed25
Add support for --copy-links
11 years ago
Aleksey Ovcharenko
c57445c5f3
Downgraded module version_added.
11 years ago
Peter Salvatore
12cb1afdc8
fix typo in synchronize module
11 years ago
Aleksey Ovcharenko
dcf0fdb9e2
Added version_added
11 years ago
James Tanner
d227614529
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
6000d636b3
Fixes #5023 Convert all modules to use new snippet import pattern
11 years ago
Aleksey Ovcharenko
bcd7af3991
Fixed a typo.
11 years ago
Josh Kuhn
b1a6bc6e7f
Added note about .rsync-filter files, with example
11 years ago
Josh Kuhn
517e4af2cf
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
2814828bc9
Added existing_only options to skip creating new files on receiver
11 years ago
James Tanner
5c34ed0827
Addresses #4676 Add module notes about the behavior of sudo and the destination paths within the synchronize module.
11 years ago
James Tanner
9fb4be0e73
Update synchronize docstrings for rsync_timeout parameter
11 years ago
James Tanner
0adf095677
Add a timeout to the synchronize module to prevent infinite hangs while waiting on passwords for misconfigured users
11 years ago
Timothy Appnel
99f616ecff
Added docs for archive options in sychronize module. Added missing default value for dirs option.
11 years ago
Timothy Appnel
c2e4129812
Modified changed marker in sychronize module
11 years ago
Timothy Appnel
c1bec5fa07
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
4a30ba3a61
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
90867d0d0a
Removed busted tmp_dir option that was a bad idea to begin with.
11 years ago
Timothy Appnel
370784ef61
Updated version_added in sychronize module
11 years ago
Timothy Appnel
32ae6fdd43
Return of sychronize module code for take 3
11 years ago
Michael DeHaan
dacd311474
Removing synchronize momentarily as it looks like this won't make 1.3 dates
11 years ago
Michael DeHaan
cde87f2f55
Add missing version_added to docs.
11 years ago
Michael DeHaan
f8c97d6e79
Style/docs cleanup, and also improve an error message.
11 years ago