I am getting the following error while using ansible module in my python script.
Traceback (most recent call last):
File “./ansible_playbook.py”, line 2, in
from ansible import playbook, callbacks
ImportError: cannot import name callbacks
Python version: 2.7.10
Ansible module version 2.5.2 (https://files.pythonhosted.org/packages/d8/5f/3e7d8243159ba831942b851891d8eeac04615323a91e8447365aa7311299/ansible-2.5.2.tar.gz)
Thanks
Niraj