No Description

Gregor Giesen 2a04cebbc9 options added: pipelining, log_path 6 years ago
lib 2a04cebbc9 options added: pipelining, log_path 6 years ago
.gitignore ec1749b5e7 gitignores: build directories 6 years ago
COPYING 3e987a9865 Ansible Simple API 6 years ago
LICENSE.txt 3e987a9865 Ansible Simple API 6 years ago
README.rst 4dfd34c886 Callback results: key is hostname not Ansible's `Host` instance 6 years ago
setup.cfg 3e987a9865 Ansible Simple API 6 years ago
setup.py a022b9fad7 setup.py: no default dependency to pytest-runner 6 years ago

README.rst

==================
Ansible Simple API
==================

This is very simple wrapper around Ansible's API with sensible defaults.

Here is an example:

>>> from ansible_simple_api import Ansible
>>> ansible = Ansible(connection='local', inventory='localhost,')
>>> ansible.run('localhost', 'debug', msg="Hello Ansible Simple API")
{'localhost': {'msg': 'Hello Ansible Simple API', '_ansible_verbose_always': True, '_ansible_no_log': False, 'changed': False}}