While running ansible playbook, I encountered this error
Traceback (most recent call last):
File "/usr/local/bin/ansible-playbook", line 110, in <module>
display.error("Unexpected Exception: %s" % to_unicode(e), wrap_text=False)
File "/Library/Python/2.7/site-packages/ansible/utils/display.py", line 261, in error
self.display(new_msg, color=C.COLOR_ERROR, stderr=True)
File "/Library/Python/2.7/site-packages/ansible/utils/display.py", line 124, in display
msg2 = to_bytes(msg2, encoding=self._output_encoding(stderr=stderr))
File "/Library/Python/2.7/site-packages/ansible/utils/unicode.py", line 208, in to_bytes