I found a way to generate key pair using RSA on Ansible control machine, 
copied the public key to the client's /.ssh/authorized_keys.  When I run a 
playbook, it prompts me for the password I used to protect the private 
key.  I followed the SSH Agent Forwarding with Ansible notes by configuring 
the ssh_args parameter in the /etc/ansible/ansible.cfg file and the 
SSH_AUTH_SOCK Defaults parameter in the /etc/sudoers file of the client; 
but I'm still getting prompted with the password for private key on 
playbook run.  What's the procedure to make the playbook run passwordless?  
- Thanks, Lorenzo

On Thursday, August 10, 2017 at 11:04:16 AM UTC-10, Dick Visser wrote:
>
> On 10 August 2017 at 21:19, Lorenzo Farinas <farinas...@gmail.com 
> <javascript:>> wrote: 
> > Please provide the procedure on how to add ssh-agent and ssh keys to the 
> > client with reference to Ansible control machine.  My research on this 
> task 
> > is not productive.  - Thanks, Lorenzo 
>
> Working with SSH keys and agents is considered a basic sysadmin skill 
> and and a prerequisite for ansible, so if this turns out to be 
> problematic then 
> it's a good idea to get familiar with this first. 
> This list isn't the right place for that, but the topic is thoroughly 
> documented on numerous places on the internet. 
>
>
> -- 
> Dick Visser 
> GÉANT 
>
> Want to join us? We're hiring: https://www.geant.org/jobs 
>

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/97bc875f-06bf-492e-8503-337950b06908%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to