Hello,

Ansible is launched as a subprocess of Jenkins server and is therefore 
using the same user. However I'm not really familiar with ssh-agent. I'm 
going to try to reproduce this issue and see if there is something I can do 
in the plugin code to help you.

Regards,

-- 
Jean-Christophe

Le mercredi 26 octobre 2016 20:16:37 UTC+2, AC a écrit :
>
> Hello,
>
> I have Ansible installed on my Jenkins master. The Jenkins Ansible plugin 
> was working and completing jobs until I switched over to using ssh-agent to 
> encrypt my private key. However, I can still run Ansible commands from the 
> Jenskins Master CLI but not from the Jenkins Ansible Plugin.
>
> Does Jenkins not run the jobs as the Jenkins user which has ssh-agent 
> running? Does anyone know if there is a way to do this?
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4491ccff-697f-4293-8ac8-a070c93ae246%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to