Ansible.runner not found

hey guys,

I’m trying to create an ansible script with python to launch some playbooks, but when I try to import ansible.runner, I got the library missing

Traceback (most recent call last):
File “./test_ansible.py”, line 2, in
import ansible.runner
ImportError: No module named runner

ansible-plybook works fine, import ansible, also works…I installed cloning from Github, later run “git submodule update --init --recursive”, later “make install”

Any idea?

P.S: I’m using Ubuntu 14.04 , and I would like to use the version from Github as has some enhancement I need that are not available yet on pip and apt

The API has changed a lot in >=2.x, runner was broken apart into many classes.
Check API docs http://docs.ansible.com/ansible/developing_api.html.