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/1558526725.3575110.1669239872.134CC688%40webmail.messagingengine.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to