name: Unix common script deployment
synchronize:
src: “{{ playbook_dir }}/shellscript”
Dest: /tmp/patch_impl
delegation_to: all
In this ansible code it is failing because to run synchronize we need rsynch module in both control as well as managed nodes. But to overcome that can we use container method? Inside the requirement.txt can we add rsync module to build a image out it and use in the template?