Matt, I owe you a drink. 

sudo pip uninstall ansible removed the extra ansible installation. Now 
ansible functions again from the git clone. 

Thanks!
Joanna

On Tuesday, March 1, 2016 at 4:46:13 PM UTC-6, Joanna Delaporte wrote:
>
> It appears that I do have another installation as well. Grr. I'll ask pip 
> to uninstall for me.
>
> $ python -c "import sys; print sys.path"
>
> ['', '/usr/lib/python2.7/site-packages/ansible-2.1.0-py2.7.egg', 
> '/home/ansible/ansible/lib', '/home/ansible/parkland', 
> '/usr/lib64/python27.zip', '/usr/lib64/python2.7', 
> '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', 
> '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', 
> '/usr/lib64/python2.7/site-packages', 
> '/usr/lib64/python2.7/site-packages/gtk-2.0', 
> '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages']
>
>
> On Tuesday, March 1, 2016 at 4:39:49 PM UTC-6, Matt Martz wrote:
>>
>> Do you have ansible installed anywhere else on that system?
>>
>> What do you get when you run:
>>
>> python -c "import sys; print sys.path"
>>
>> You should see what is in your PYTHONPATH from using env-setup at the 
>> front after ''.  If not, then something could be inserting additional paths 
>> for python to search, and you could be grabbing files from incorrect 
>> locations.
>>
>> On Tue, Mar 1, 2016 at 4:34 PM, Joanna Delaporte <[email protected]> 
>> wrote:
>>
>>> Hi Matt, 
>>>
>>> I did the following: 
>>>
>>> rm -rf ansible/
>>> git clone git://github.com/ansible/ansible.git --recursive
>>> cd ansible/
>>> source hacking/env-setup
>>>
>>> I did it again just now. I still get the same attribute 'COLOR_ERROR' 
>>> when attempting ad-hoc commands and attribute split_ssh_args error when 
>>> running playbooks.
>>>
>>> What am I missing?
>>> Thanks a ton for your input! I appreciate it.
>>>
>>> Joanna
>>>
>>>
>>>
>>>
>>>
>>> On Tuesday, March 1, 2016 at 4:14:29 PM UTC-6, Matt Martz wrote:
>>>>
>>>> Based on this email and your other email about the ssh error, it looks 
>>>> like you are running a mismatched partially updated version of ansible.  I 
>>>> might recommend completely uninstalling and reinstalling ansible.
>>>>
>>>> On Tue, Mar 1, 2016 at 3:32 PM, Joanna Delaporte <[email protected]> 
>>>> wrote:
>>>>
>>>>> When running ad-hoc ansible commands, I get the following error: 
>>>>>
>>>>> $ ansible slackware-lab-64 -m setup
>>>>>
>>>>>  [WARNING]: Error when using <bound method 
>>>>> CallbackModule.v2_runner_on_failed of 
>>>>> </home/ansible-user/ansible/lib/ansible/plugins/callback/minimal.CallbackModule
>>>>>  
>>>>> object at 0x21d15d0>>: 'module' object has no attribute
>>>>> 'COLOR_ERROR'
>>>>>
>>>>> I am also getting the ssh_split error whenever I try to run a 
>>>>> playbook, so my Ansible is completely broken right now. 
>>>>>
>>>>> -- 
>>>>> 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/fd75c080-bdc7-49a3-9841-55cdba6e88cd%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/ansible-project/fd75c080-bdc7-49a3-9841-55cdba6e88cd%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Matt Martz
>>>> @sivel
>>>> sivel.net
>>>>
>>> -- 
>>> 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/aadc2d2f-d0fc-4efd-a63e-c703a4fe0f9c%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/ansible-project/aadc2d2f-d0fc-4efd-a63e-c703a4fe0f9c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> -- 
>> Matt Martz
>> @sivel
>> sivel.net
>>
>

-- 
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/87da42ec-db63-4e48-877c-8ff8c2cd4b1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to