Traceback (most recent call last):


 "/home/adrian/src/ansible/bin/ansible-playbook", line 103, in <module>

exit_code = cli.run()


 "/home/adrian/src/ansible/lib/ansible/cli/playbook.py", line 156, in run

results = pbex.run()


 "/home/adrian/src/ansible/lib/ansible/executor/playbook_executor.py", line 153, in run

result = self._tqm.run(play=play)


 "/home/adrian/src/ansible/lib/ansible/executor/task_queue_manager.py", line 264, in run

start_at_done = self._start_at_done,


 "/home/adrian/src/ansible/lib/ansible/executor/play_iterator.py", line 193, in __init__

for block in self._play.compile():


 "/home/adrian/src/ansible/lib/ansible/playbook/play.py", line 268, in compile

loader=self._loader


 "/home/adrian/src/ansible/lib/ansible/playbook/block.py", line 86, in load

return b.load_data(data, variable_manager=variable_manager, loader=loader)


 "/home/adrian/src/ansible/lib/ansible/playbook/base.py", line 250, in load_data

self._attributes[name] = method(name, ds[name])


 "/home/adrian/src/ansible/lib/ansible/playbook/block.py", line 122, in _load_block

use_handlers=self._use_handlers,


 "/home/adrian/src/ansible/lib/ansible/playbook/helpers.py", line 309, in load_list_of_tasks

t = Task.load(task_ds, block=block, role=role, task_include=task_include, variable_manager=variable_manager, loader=loader)


 "/home/adrian/src/ansible/lib/ansible/playbook/task.py", line 139, in load

return t.load_data(data, variable_manager=variable_manager, loader=loader)


 "/home/adrian/src/ansible/lib/ansible/playbook/base.py", line 240, in load_data

ds = self.preprocess_data(ds)


 "/home/adrian/src/ansible/lib/ansible/playbook/task.py", line 179, in preprocess_data

(action, args, delegate_to) = args_parser.parse()


 "/home/adrian/src/ansible/lib/ansible/parsing/mod_args.py", line 286, in parse

if item in module_loader or item in ['meta', 'include', 'include_role']:


 "/home/adrian/src/ansible/lib/ansible/plugins/__init__.py", line 329, in has_plugin

return self.find_plugin(name) is not None


 "/home/adrian/src/ansible/lib/ansible/plugins/__init__.py", line 265, in find_plugin

for path in (p for p in self._get_paths() if p not in self._searched_paths and os.path.isdir(p)):


 "/home/adrian/src/ansible/lib/ansible/plugins/__init__.py", line 196, in _get_paths

ret.extend(self._get_package_paths(subdirs=subdirs))


 "/home/adrian/src/ansible/lib/ansible/plugins/__init__.py", line 159, in _get_package_paths

m = __import__(self.package)
ImportError: No module named modules

Traceback (most recent call last):


 "/usr/bin/pip", line 9, in <module>

from pip import main
ImportError: cannot import name main
