Python API
Attention
The Ansible API is intended for internal Ansible use. Ansible may make changes to this API at any time that could break backward compatibility with older versions of the API. Because of this, external use is not supported by Ansible. If you want to use Python API only for executing playbooks or modules, consider ansible-runner first.
If you would like to use Ansible programmatically from a language other than Python, trigger events asynchronously, or have access control and logging demands, please see the AWX project.
See also
- Developing dynamic inventory
- Developing dynamic inventory integrations 
- Developing modules
- Getting started on developing a module 
- Developing plugins
- How to develop plugins 
- Communication
- Got questions? Need help? Want to share your ideas? Visit the Ansible communication guide 
