InterviewSolution
Saved Bookmarks
| 1. |
How does Ansible synchronize module works? |
|
Answer» Ansible synchronize is a module similar to rsync in Linux machines which we can use in playbooks. The features are similar to rsync such as archive, compress, delete, etc but there are few limitations also such as
An example of synchronize module is ---- hosts: host-remote tasks:- name: sync from sync_foldersynchronize:src: /var/tmp/sync_folder dest: /var/tmp/Here we are transferring files of /var/tmp/sync_folder folder to remote machine’s /var/tmp folder |
|