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.
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.
I would see if adding the allege missing line fixes the problem before reporting it as bug. I don’t know if I have the most current build, but that line is missing from my last pull:
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.
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.
Thanks! It turns out I had a system installation still hanging around in addition to the github clone. So, I pip uninstalled to remove the system installation of Ansible and now everything works again.