I use scp-copy-id (on Ubuntu) https://linux.die.net/man/1/ssh-copy-id
On Friday, November 17, 2017 at 8:35:19 AM UTC-2, [email protected] wrote: > > Hi, > > I solved it with another solution. so if someone will be interested > > - name: Copy over SCP > local_action: "command sshpass -p {{pass}} scp -r $LOCAL_FOLDER > {{user}}@$IP_DEST:$DEST_FOLDER" > > On Friday, 17 November 2017 08:46:43 UTC+1, [email protected] wrote: >> >> There are some documents or example that you can forward me in order to >> understand how should i do that >> >> thanks >> >> On Thursday, 16 November 2017 22:53:39 UTC+1, [email protected] wrote: >>> >>> Hi there, >>> >>> I'm using a synchronize task: >>> http://docs.ansible.com/ansible/latest/synchronize_module.html >>> >>> - synchronize: >>> src: some/relative/path >>> dest: /some/absolute/path >>> >>> So far so good but i expected that Ansible won't ask me for entering a >>> password and that what's happening. >>> >>> How can i explicit the password or supply it within the task? >>> >>> Thx >>> >>> -- 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/0ddee800-b33e-443a-bc25-b08838508145%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
