2018-09-07 13:57:36 +00:00
|
|
|
.. _ansible.module_utils:
|
|
|
|
.. _module_utils:
|
|
|
|
|
|
|
|
***************************************************************
|
|
|
|
Ansible Reference: Module Utilities
|
|
|
|
***************************************************************
|
|
|
|
|
2018-12-10 15:17:15 +00:00
|
|
|
This page documents utilities intended to be helpful when writing
|
|
|
|
Ansible modules in Python.
|
2018-09-07 13:57:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
AnsibleModule
|
|
|
|
--------------
|
|
|
|
|
2018-12-10 15:17:15 +00:00
|
|
|
To use this functionality, include ``from ansible.module_utils.basic import AnsibleModule`` in your module.
|
2018-09-07 13:57:36 +00:00
|
|
|
|
2018-12-10 15:17:15 +00:00
|
|
|
.. autoclass:: ansible.module_utils.basic.AnsibleModule
|
|
|
|
:members:
|
2018-09-07 13:57:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
Basic
|
|
|
|
------
|
|
|
|
|
2018-12-10 15:17:15 +00:00
|
|
|
To use this functionality, include ``import ansible.module_utils.basic`` in your module.
|
2018-09-07 13:57:36 +00:00
|
|
|
|
2018-12-10 15:17:15 +00:00
|
|
|
.. automodule:: ansible.module_utils.basic
|
|
|
|
:members:
|