2018-03-14 12:44:21 -07:00
|
|
|
.. _working_with_modules:
|
|
|
|
|
2018-02-13 07:23:55 -08:00
|
|
|
Working With Modules
|
|
|
|
====================
|
2012-03-08 13:36:47 -05:00
|
|
|
|
2013-12-24 18:05:41 -05:00
|
|
|
.. toctree::
|
2015-07-17 13:53:13 -04:00
|
|
|
:maxdepth: 1
|
2013-12-24 18:05:41 -05:00
|
|
|
|
2015-07-17 13:53:13 -04:00
|
|
|
modules_intro
|
2017-01-10 15:58:22 -05:00
|
|
|
modules_support
|
2020-07-17 13:07:35 -07:00
|
|
|
../reference_appendices/common_return_values
|
2013-10-04 18:34:39 -04:00
|
|
|
|
2012-08-28 15:41:10 -04:00
|
|
|
|
2012-08-03 10:31:43 -05:00
|
|
|
Ansible ships with a number of modules (called the 'module library')
|
2019-06-26 16:07:27 -05:00
|
|
|
that can be executed directly on remote hosts or through :ref:`Playbooks <working_with_playbooks>`.
|
2013-12-25 13:23:58 -05:00
|
|
|
|
2015-07-17 13:53:13 -04:00
|
|
|
Users can also write their own modules. These modules can control system resources,
|
|
|
|
like services, packages, or files (anything really), or handle executing system commands.
|
2012-03-08 13:53:48 -05:00
|
|
|
|
2012-03-31 09:29:31 -04:00
|
|
|
|
|
|
|
.. seealso::
|
|
|
|
|
2019-06-26 16:07:27 -05:00
|
|
|
:ref:`intro_adhoc`
|
2012-04-12 23:20:52 +01:00
|
|
|
Examples of using modules in /usr/bin/ansible
|
2019-06-26 16:07:27 -05:00
|
|
|
:ref:`playbooks_intro`
|
|
|
|
Introduction to using modules with /usr/bin/ansible-playbook
|
|
|
|
:ref:`developing_modules_general`
|
2012-03-31 10:21:28 -04:00
|
|
|
How to write your own modules
|
2019-06-26 16:07:27 -05:00
|
|
|
:ref:`developing_api`
|
2012-03-31 09:29:31 -04:00
|
|
|
Examples of using modules with the Python API
|
2019-06-26 16:07:27 -05:00
|
|
|
:ref:`interpreter_discovery`
|
2019-02-27 23:52:02 -08:00
|
|
|
Configuring the right Python interpreter on target hosts
|
2018-07-21 15:48:47 +02:00
|
|
|
`Mailing List <https://groups.google.com/group/ansible-project>`_
|
2012-03-31 09:55:37 -04:00
|
|
|
Questions? Help? Ideas? Stop by the list on Google Groups
|
|
|
|
`irc.freenode.net <http://irc.freenode.net>`_
|
|
|
|
#ansible IRC chat channel
|