Hi,
I got this traceback when trying to run a playbook with ansible 1.8 on
Debian Wheezy :
Traceback (most recent call last):
File "/usr/bin/ansible-playbook", line 324, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/bin/ansible-playbook", line 264, in main
pb.run()
File "/usr/lib/pymodules/python2.7/ansible/playbook/__init__.py", line
313, in run
play = Play(self, play_ds, play_basedir, vault_password=self.vault_password)
File "/usr/lib/pymodules/python2.7/ansible/playbook/play.py", line 165,
in __init__
self._tasks = self._load_tasks(self._ds.get('tasks', ), load_vars)
File "/usr/lib/pymodules/python2.7/ansible/playbook/play.py", line 598,
in _load_tasks
loaded = self._load_tasks(data, mv, default_vars, included_sudo_vars,
list(included_additional_conditions), original_file=include_filename,
role_name=new_role)
File "/usr/lib/pymodules/python2.7/ansible/playbook/play.py", line 606,
in _load_tasks
role_name=role_name
File "/usr/lib/pymodules/python2.7/ansible/playbook/task.py", line 69,
in __init__
if x in utils.plugins.module_finder:
File "/usr/lib/pymodules/python2.7/ansible/utils/plugins.py", line 186,
in has_plugin
return self.find_plugin(name) is not None
File "/usr/lib/pymodules/python2.7/ansible/utils/plugins.py", line 175,
in find_plugin
for i in self._get_paths():
File "/usr/lib/pymodules/python2.7/ansible/utils/plugins.py", line 138,
in _get_paths
ret.extend(self._get_package_paths())
File "/usr/lib/pymodules/python2.7/ansible/utils/plugins.py", line 94,
in _get_package_paths
m = __import__(self.package)
ImportError: No module named modules
Does anyone know what this is about ?
Thank you, regards