Ok,

When i try to use this module i have on error:

- name: "my synchronize module"
  synhcronize:
     src: /home/michel/*.txt
     dest: //home/carla/
  delegate_to: localhost

Error : not found a repertory but i have some file with extend ".txt"

Someone can you help me please ?!!  :)

Regards,




Le mercredi 22 mai 2019 14:05:37 UTC+2, James Cassell a écrit :
>
>
>
> On Wed, May 22, 2019, at 7:54 AM, Ryad karkar wrote: 
> > Hey, 
> > 
> > I want can execut this command : scp -rp 
> > /somerepertory/myrepertory1/........     /some_repertory/myrepertory1/ 
> > 
> > How can i do it please ? 
> > 
> > I know the module copy : 
> > 
> > - name: "task for copy" 
> >   copy: 
> >      src: /somerepertory/myrepertory1/ 
> >      dest: /somerepertory/myrepertory1/ 
> > 
>
> Use synchronize. There's no support for recursive copy in the copy module. 
>
> V/r, 
> James Cassell 
>
> > 
> > But this module do scp -rp or not ? 
> > 
> > Thanks for your answer community ansible !! ;) 
> > 
> > Regards, 
> > 
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/fa55ee02-1e01-4d19-8ce5-23d7feb9b557%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to