跳转到主要内容

Python API

Topics

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.

developing_inventory
Developing dynamic inventory integrations

developing_modules_general
Getting started on developing a module

developing_plugins
How to develop plugins

Communication<communication>
Got questions? Need help? Want to share your ideas? Visit the Ansible communication guide