what about the shebang in ansible/ansible-playbook ?

On Thu, Nov 6, 2014 at 6:47 AM, Shaun Barker <[email protected]> wrote:

> Thanks Brian
>
> So I think  you are correct - if I look in the 'setup.py' file the python
> shebang is: '#!/usr/bin/env python'
> but if I type 'which python' I get '/usr/bin/python' -
>
> Should I expect them to be the same? If so should I symlink for python or
> change the ansible files (upgrade issues spring to mind) or something else?
>
> thanks!
>
> S
>
>
> On Wednesday, November 5, 2014 4:36:42 PM UTC, 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 [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/33a1b8dc-4743-42c9-8e7b-842b99bef95f%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/33a1b8dc-4743-42c9-8e7b-842b99bef95f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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 [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/CAJ5XC8mZX5z2s7rc0H9Rm4u7wvUqEv6D3zTWVXP4Mxecqhvhqw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to