The synchronize module is like rsync in Linux machines that are used in playbooks. The features are similar to rsync, such as compress, delete, etc. However, a few limitations are there as well, such as:
- Rsync needs to be installed on both — source and target systems.
- User permission needs to be handled since the files are accessible as per remote user.
- The full path of the destination host location needs to be provided in case sudo is used; otherwise, files will be copied to the remote user's home directory.
- The limitations related to hard links on Linux rsync are applicable here as well.