Transparent copy and sync

What are the pros and cons of using Ansible Synchronize vs Copy modules. As far as I can tell, synchronization has all the functions that it copies, but it can be much faster, so I am thinking about changing everything in order to use synchronization. The only drawback to synchronization is that rsync is required, which seems pretty ubiquitous in Linux.

+7
ansible
source share
1 answer

The differences are pretty similar to traditional rsync vs scp . Rsync has more features and is often faster, however it is a bit more complicated to set up and has more buttons to rotate.

In addition, https://docs.ansible.com/ansible/copy_module.html states:

The "copy" module recursively copies an object that does not scale for a large number (> hundreds) of files. For an alternative, see Sync Module, which is a wrapper around rsync.

+5
source share

All Articles