Re: [ansible-project] Hi - Installed ansible (not the first time) but on a new box - and although pip install worked fine if I use ping command I get 'FAILED => paramiko is not installed'

2014-11-05 Thread Brian Coca
check ansible shebang and make sure it is executing the same python

On Wed, Nov 5, 2014 at 11:36 AM, Shaun Barker  wrote:

> pip install paramiko PyYAML Jinja2 httplib2 --upgrade
> Requirement already up-to-date: paramiko in
> /usr/lib/python2.6/site-packages
> Requirement already up-to-date: PyYAML in
> /usr/lib64/python2.6/site-packages
> Requirement already up-to-date: Jinja2 in /usr/lib/python2.6/site-packages
> Requirement already up-to-date: httplib2 in
> /usr/lib/python2.6/site-packages
> Requirement already up-to-date: markupsafe in
> /usr/lib/python2.6/site-packages (from Jinja2)
>
> -- so paramiko says it is registered. But:
>
> [root@jenkins6 ansible]# paramiko
> bash: paramiko: command not found
>
>
> Python version:
> [root@jenkins6 ansible]# python --version
> Python 2.6.6
> [root@jenkins6 ansible]#
>
> [root@jenkins6 ansible]# ansible all -m ping
> 127.0.0.1 | FAILED => paramiko is not installed
> [root@jenkins6 ansible]#
>
>
> Any suggestions?
>
> thanks in advance!
>
> --
> 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/322713b5-38c4-4fa7-961f-280098fca540%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
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-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/CAJ5XC8k%3DHef8jyf5%2BbAvxubyJGEWTmC_2oVgT3cxPw68GmmDZw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[ansible-project] Hi - Installed ansible (not the first time) but on a new box - and although pip install worked fine if I use ping command I get 'FAILED => paramiko is not installed'

2014-11-05 Thread Shaun Barker
pip install paramiko PyYAML Jinja2 httplib2 --upgrade
Requirement already up-to-date: paramiko in /usr/lib/python2.6/site-packages
Requirement already up-to-date: PyYAML in /usr/lib64/python2.6/site-packages
Requirement already up-to-date: Jinja2 in /usr/lib/python2.6/site-packages
Requirement already up-to-date: httplib2 in /usr/lib/python2.6/site-packages
Requirement already up-to-date: markupsafe in 
/usr/lib/python2.6/site-packages (from Jinja2)

-- so paramiko says it is registered. But:

[root@jenkins6 ansible]# paramiko
bash: paramiko: command not found


Python version:
[root@jenkins6 ansible]# python --version
Python 2.6.6
[root@jenkins6 ansible]# 

[root@jenkins6 ansible]# ansible all -m ping
127.0.0.1 | FAILED => paramiko is not installed
[root@jenkins6 ansible]# 


Any suggestions?

thanks in advance!

-- 
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/322713b5-38c4-4fa7-961f-280098fca540%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.