Re: [ansible-project] command scp in ansible

2019-04-22 Thread Brian Coca
The copy module itself does not copy across machines, only on the same machine, as I said, the connection itself does the copy from controller to target (temp location) then executes the 'copy module' against that temp location (unless remote_src=true in which case copy module does all the work).

Re: [ansible-project] command scp in ansible

2019-03-22 Thread Sebastian Meyer
Hi, On 22.03.19 18:28, Brian Coca wrote: > The copy module uses the transfer mechanism from the 'connection > plugin', which, if using ssh CAN be scp, but it also tries sftp and dd > by default, but you can control this via configuration (see scp_if_ssh > setting). I see that setting, but I'm

Re: [ansible-project] command scp in ansible

2019-03-22 Thread Brian Coca
The copy module uses the transfer mechanism from the 'connection plugin', which, if using ssh CAN be scp, but it also tries sftp and dd by default, but you can control this via configuration (see scp_if_ssh setting). -- -- Brian Coca -- You received this message because you are

Re: [ansible-project] command scp in ansible

2019-03-22 Thread ryad9200000
Hi Sebastian, Ok. Thanks for your answer Regards, Le vendredi 22 mars 2019 14:36:21 UTC+1, Sebastian Meyer a écrit : > > On 22.03.19 13:47, ryad9...@gmail.com wrote: > > Hi all, > > > > I must use scp in ansible, i know module synchronize, copy but i d'ont > find > > the module scp. > >

Re: [ansible-project] command scp in ansible

2019-03-22 Thread Sebastian Meyer
On 22.03.19 13:47, ryad9200...@gmail.com wrote: > Hi all, > > I must use scp in ansible, i know module synchronize, copy but i d'ont find > the module scp. > There is junos_scp but i d'ont know how he works :/ > > Is there a way to transfer files or directories by scp as the command linux >

[ansible-project] command scp in ansible

2019-03-22 Thread ryad9200000
Hi all, I must use scp in ansible, i know module synchronize, copy but i d'ont find the module scp. There is junos_scp but i d'ont know how he works :/ Is there a way to transfer files or directories by scp as the command linux scp -rp Thanks community ansible !! ;) Regards, -- You