On Wed, 22 May 2019 at 6:14 PM, Ryad karkar <[email protected]> wrote:
> Ok, > > When i try to use this module i have on error: > > - name: "my synchronize module" > synhcronize: > src: /home/michel/*.txt > dest: //home/carla/ > Here you have to use /home/Carla also this will sync on your local > machine. > 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 > <https://groups.google.com/d/msgid/ansible-project/fa55ee02-1e01-4d19-8ce5-23d7feb9b557%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAJ%2BRxtTe_3tHGuXdtBhMhTJj%3D00Bj4BBOM46_%2BYHh7Wh-PBY-A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
