Hello and thank you for taking time to read into this issue I'm having.

I have three environments, two OS X and one Centos. The two OS X 
environments are unable to initiate a playbook but the Centos environment 
can. The message I'm receiving from the OS X machines is:

TASK [RUN 'SHOW VERSION'] 
******************************************************
fatal: [iosv0001]: FAILED! => {"changed": false, "failed": true, "msg": 
"paramiko 
is required but does not appear to be installed"}


Conversly here is the output from the Centos machine:
TASK [RUN 'SHOW VERSION'] 
******************************************************
ok: [iosv0001]


Here is a quick list of installed python libraries on both machines:
$ pip list
ansible (2.1.0.0)
cffi (1.6.0)
cryptography (1.3.2)
enum34 (1.1.6)
idna (2.1)
ipaddress (1.0.16)
Jinja2 (2.8)
junos-eznc (1.3.1)
lxml (3.6.0)
MarkupSafe (0.23)
ncclient (0.4.7)
netaddr (0.7.18)
netmiko (0.5.1)
paramiko (2.0.0)
pip (8.1.2)
pyasn1 (0.1.9)
pycparser (2.14)
pycrypto (2.6.1)
PyYAML (3.11)
scp (0.10.2)
setuptools (19.4)
six (1.10.0)
vboxapi (1.0)
virtualenv (15.0.2)
wheel (0.26.0)

A further debug on the OS X machines may provide a clue to those more 
experienced than I:

TASK [RUN 'SHOW VERSION'] 
******************************************************
task path: /Users/calvinchristopher/Development/Python/ansible/cisco/
packet_geek.yml:18
<192.168.248.128> ESTABLISH LOCAL CONNECTION FOR USER: calvinchristopher
<192.168.248.128> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo 
$HOME/.ansible/tmp/ansible-tmp-1464624087.0-241116952791070 `" && echo 
ansible-tmp-1464624087.0-241116952791070="` echo 
$HOME/.ansible/tmp/ansible-tmp-1464624087.0-241116952791070 `" ) && sleep 0'
<192.168.248.128> PUT 
/var/folders/n3/3rbhn2993bjflfzny4njl3vm0000gn/T/tmpPCmcin 
TO /Users/calvinchristopher/.ansible/tmp/ansible-tmp-1464624087.0-
241116952791070/ios_command
<192.168.248.128> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 
LC_MESSAGES=en_US.UTF-8 /usr/bin/python 
/Users/calvinchristopher/.ansible/tmp/ansible-tmp-1464624087.0-241116952791070/ios_command;
 
rm -rf 
"/Users/calvinchristopher/.ansible/tmp/ansible-tmp-1464624087.0-241116952791070/"
 
> /dev/null 2>&1 && sleep 0'
fatal: [iosv0001]: FAILED! => {"changed": false, "failed": true, 
"invocation": {"module_args": {"auth_pass": 
"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "authorize": false, "commands": ["show 
version"], "host": "iosv0001", "interval": 1, "password": 
"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "port": 22, "provider": "{'username': 
'********', 'password': '********', 'host': 'iosv0001', 'auth_pass': 
'********'}", "retries": 10, "ssh_keyfile": null, "timeout": 10, "username": 
"VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "waitfor": null}, "module_name": 
"ios_command"}, "msg": "paramiko is required but does not appear to be 
installed"}


I read on Juniper's Ansible github that there could be conflicts with 
Virtualenvs, I ran into this same issue within a virtualenv anyways so I am 
trying these out on my system's native environment.

I should note that I can connect to a remote device through the 'missing' 
library of Paramiko, so I doubt that's really the issue at hand.

I am rapidly running out of hair to pull in my old age, can anyone work 
with me on figuring out the root cause?

-- 
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/b2910a99-48af-4c4c-b0e4-fb5048d4bd96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to