Guide users to use ansible-runner (#71063)
Update the docs to guide users to use `ansible-runner` instead of using Python API directly. In many use cases, executing Ansible playbooks are sufficient. In those use cases, `ansible-runner` is easier and much stable to use comparing with Python API, but there is no mention of it.
This commit is contained in:
parent
6160e82bf2
commit
0c855dc70b
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ Python API
|
|||
|
||||
.. contents:: Topics
|
||||
|
||||
.. note:: This 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.
|
||||
.. note:: This 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 <https://ansible-runner.readthedocs.io/en/latest/>`_ first.
|
||||
|
||||
There are several ways to use Ansible from an API perspective. You can use
|
||||
the Ansible Python API to control nodes, you can extend Ansible to respond to various Python events, you can
|
||||
|
|
Loading…
Reference in a new issue