Mandar Kulkarni
6afd4cdcf1
Modifying based on feedback
2024-06-07 14:40:56 -07:00
Mandar Kulkarni
1e0654f8b6
Fix: moving conditional to correct place
2024-06-07 14:40:56 -07:00
Mandar Kulkarni
fe7dd71bda
Added documentation and example for quiet option
2024-06-07 14:40:55 -07:00
Mandar Kulkarni
1a4c2051e8
Adding rsync parameter 'quiet' to synchronize
2024-06-07 14:40:40 -07:00
Mandar Kulkarni
8bb61047f8
Adding parameter to synchronize module to suppress verbose output and print error only
2024-06-07 14:40:39 -07:00
Adam Miller
a85f736f6a
refactor to comply with current ansible-lint and sanity guidelines
...
Signed-off-by: Adam Miller <admiller@redhat.com>
2023-12-06 17:22:59 -06:00
Felix Fontein
8ccd0b800b
Fix broken seealso in synchronize module
...
Module references must always have FQCN.
2023-01-30 22:07:10 +01:00
Vladislav Sharapov
d0e1504f8a
Fix boolean values in docs
2022-12-09 00:36:29 +04:00
Mike Wallis
d1be5519e6
Whitespaces in paths or current working directory path of playbook causes rsync to incorrectly chdir to current source dir,
...
Example :
cd "/home/a/ansible plays"
task:
- synchronize:
src: a
dest: b
Results in the following error being thrown
fatal: [remote-host]: FAILED! => {"changed": false, "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --rsh='/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' --rsync-path='sudo -u root rsync' --out-format='<<CHANGED>>%i %n%L' /home/a/ansible plays/deployments// remote-user@remote-host:/data/", "msg": "rsync: [sender] link_stat \"/home/a/ansible\" failed: No such file or directory (2)\nrsync: [sender] change_dir \"/home/a/ansible plays/plays/a/\" failed: No such file or directory (2)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1330) [sender=3.2.3]\n", "rc": 23}
2021-10-25 19:44:43 +01:00
Abhijeet Kasurde
a65807edc3
synchronize: Use SSH args from SSH connection plugins ( #223 )
...
SSH configuration migrated from Ansible configuration to
SSH connection configuration. Make ``synchronize`` understand
this.
Fixes : #222
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-08-11 10:45:52 +05:30
Tadej Borovšak
db12a40a4c
Synchronize: properly quote shell command components
...
The synchronize action plugin and module were a bit sloppy when it
came to the command-line parameter quoting and that caused failuer on
some systems (for example, on Fedora 34).
This commit makes sure any argumnts with potentially problematic
characters are quoted before being used.
2021-08-04 13:37:18 +02:00
Robert Rettig
0118bf0cb9
fixes #24 and #190
2021-06-24 23:37:48 +02:00
Abhijeet Kasurde
7bed8ce79e
review requests
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-06-04 18:39:50 +05:30
Abhijeet Kasurde
7d928e6e9d
synchronize: fix misc typo
...
Docs should read ``--delete-after`` instead of ``--delete-excluded``.
Fixes : #175
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-06-04 18:38:01 +05:30
Abhijeet Kasurde
5d0c5ae3a6
synchronize: correct typo
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-06-02 12:58:56 +05:30
ansible-zuul[bot]
7e6adc977f
Merge pull request #167 from aminvakil/rsync_hardcoded_options
...
synchronize: add delay_updates option
Reviewed-by: https://github.com/apps/ansible-zuul
2021-05-31 12:44:36 +00:00
Amin Vakil
54ea8777f8
add version_added to new option
...
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-05-27 19:31:40 +04:30
Amin Vakil
9313bf3e68
Reorder if to address quidame suggestion
2021-04-26 10:58:27 +04:30
Amin Vakil
7511421440
Add delay_updates option to synchronize module
2021-04-03 16:22:10 +04:30
quidame
d976add5da
replace no more supported 'ansible_ssh_*' option names by the new ones
...
* Replace 'ansible_ssh_user' by 'ansible_user' everywhere.
* Replace 'ansible_ssh_port' by 'ansible_port' everywhere.
* Replace 'ansible_ssh_host' by 'ansible_host' everywhere.
2021-03-28 13:50:49 +02:00
ansible-zuul[bot]
252b531c20
Merge pull request #120 from pneerincx/bugfix_for_24365
...
Bugfix for #24365 : "Added option to allow SSH connection multiplexing"
Reviewed-by: https://github.com/apps/ansible-zuul
2021-03-05 18:30:48 +00:00
Abhijeet Kasurde
ea8fc70373
Fix sanity test for modules
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-03-02 18:53:06 +05:30
pneerincx
665f84d996
Removed trailing whitespace to satisfy PEP8 rule W291.
2020-12-11 15:16:03 +01:00
Fabio Alessandro Locati
bcb08106d9
fix indentation in doc
2020-12-10 21:40:09 +01:00
pneerincx
cbf54f214c
Added option to allow SSH connection multiplixing as opposed to hard-coded disabling it. Fixes bug #24365 .
2020-12-10 20:52:34 +01:00
Rystraum Gamonez
c96be65ec9
Updated description of use_ssh_args option
...
This option has interactions with `ansible_ssh_common_args` as indicated in this issue thread: https://github.com/ansible/ansible/issues/16767
2020-09-12 12:41:09 +08:00
Adam Miller
ab01d216fc
Content Collection 1.0.0 Release
...
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-06-19 22:39:25 -05:00
Abhijeet Kasurde
74c8ca58e2
Remove Ansible metadata from modules ( #25 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-05-21 11:55:32 -05:00
Abhijeet Kasurde
d9e0140b66
Update EXAMPLES section in modules ( #27 )
...
Update EXAMPLES section in modules to use FQCN
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-05-21 11:54:20 -05:00
Ansible Core Team
6f928621f0
Initial commit
2020-03-09 13:15:28 +00:00