On Wednesday, 3 April 2019 23:41:54 UTC+2, Derek Murawsky wrote:
>
> What does your ~/.gnupg/gpg-agent.conf file? 
> https://www.gnupg.org/documentation/manuals/gnupg/Agent-Options.html 
>
> It sounds almost like your auth socket isn't working properly. Meaning the 
> agent is being restarted and is readding the key instead of using the key 
> loaded in the agent once. 
>

Thanks for the reply. I agree with your assessment it has something to do 
with ansible not being able to reach the SSH_AUTH_SOCKET. I don't have a 
gpg-agent.conf file. I have read lots of tutorials that mention the file 
but on Ubuntu 18.04 the gpg installation does not appear to require it. The 
only thing I had to do after installation to get ssh to work with the 
private key  in gpg was to run "export 
SSH_AUTH_SOCK="/run/user/1000/gnupg/S.gpg-agent.ssh".  Maybe I need to 
change a config for ansible to point to the correct socket as it was using 
the normal ssh-agent before?
 

>
> On Wed, Apr 3, 2019 at 5:32 PM Brian Coca <bc...@redhat.com <javascript:>> 
> wrote:
>
>> Ansible does not deal with those, it executes an ssh command,  use
>> -vvv to see exactly the ssh command Ansible runs and see if any of
>> those options need to be tweaked to allow for the gpg agent to
>> continue working.
>>
>>
>> -- 
>> ----------
>> Brian Coca
>>
>> -- 
>> 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...@googlegroups.com <javascript:>.
>> To post to this group, send email to ansible...@googlegroups.com 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/ansible-project/CACVha7fAUtZQ5xxXCUqmJxw063jNGTC9a-LkfRjmCzc%3DRc2L-Q%40mail.gmail.com
>> .
>> 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 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/e72fc6f6-84eb-40cd-b9ac-68536b0ed25c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to