On Thu, 16 Nov 2023 at 13:56, Prady A <[email protected]> wrote:

> Hi Experts
>
> One doubt with synchronize module
>
>  - 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?
>

You can use whatever you want, as long as there will be a working rsync
command on both control and managed nodes.

Dick

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAF8BbLYPVNzo9UhHjwV_PwSZ2K2jNHN827L92-qZT6n3Wi8W2A%40mail.gmail.com.

Reply via email to