To be clear, in /ansible/lib/ansible/plugins/callback/minimal, there is no import of ansible.utils.color:
# Make coding more python3-ish from __future__ import (absolute_import, division, print_function) __metaclass__ = type from ansible.plugins.callback import CallbackBase from ansible import constants as C class CallbackModule(CallbackBase): On Tuesday, March 1, 2016 at 4:08:14 PM UTC-6, Arthur Reyes wrote: > > I noticed that this module isn't importing this module: > > from ansible.utils.color import colorize, hostcolor > > > On Tuesday, March 1, 2016 at 3:54:51 PM UTC-6, Joanna Delaporte wrote: >> >> Fixed the typo in the subject. The ad-hoc commands are failing instantly >> after this error. >> >> On Tuesday, March 1, 2016 at 3:32:58 PM UTC-6, Joanna Delaporte 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/44140326-8d7b-47af-b673-f9f0783627ed%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
