I'm trying to test ansible with a pip installation of ansible in a virtualenv of python managed by virtualenvwrapper. However, I am having problems to use the ssh-agent and the SSH keys:(ansible)$ ansible all -m pingEnter passphrase for key '/home/jtbpizac/.ssh/id_rsa':Enter passphrase for key '/home/jtbpizac/.ssh/id_rsa':Enter passphrase for key '/home/jtbpizac/.ssh/id_rsa':Enter passphrase for key '/home/jtbpizac/.ssh/id_rsa':Enter passphrase for key '/home/jtbpizac/.ssh/id_rsa':However, I can use the ssh-agent from this shell to connect remotely through ssh without problems:(ansible)$ ssh root@X.X.X.XAnd the ssh-agent seems to be available from the shell I launch ansible:(ansible)$ ssh-add -l2048 SHA256:.. (RSA)1024 SHA256:.. (DSA)2048 SHA256:.. (RSA)(ansible)$ ssh-agent -sSSH_AUTH_SOCK=/tmp/ssh-yE20HcbylzCJ/agent.14461; export SSH_AUTH_SOCK;SSH_AGENT_PID=14462; export SSH_AGENT_PID;echo Agent pid 14462;Any idea? I am using Ubuntu 15.10. Thanks!
Ansible: running from virtualenvwrapper with pip installation
ubuntu;ssh;openssh;ssh agent;ansible