2018-03-14 20:44:21 +01:00
|
|
|
.. _working_with_modules:
|
|
|
|
|
2018-02-13 16:23:55 +01:00
|
|
|
Working With Modules
|
|
|
|
====================
|
2012-03-08 19:36:47 +01:00
|
|
|
|
2013-12-25 00:05:41 +01:00
|
|
|
.. toctree::
|
2015-07-17 19:53:13 +02:00
|
|
|
:maxdepth: 1
|
2013-12-25 00:05:41 +01:00
|
|
|
|
2015-07-17 19:53:13 +02:00
|
|
|
modules_intro
|
2017-01-10 21:58:22 +01:00
|
|
|
modules_support
|
2020-07-20 23:28:35 +02:00
|
|
|
../reference_appendices/common_return_values
|
2013-10-05 00:34:39 +02:00
|
|
|
|
2012-08-28 21:41:10 +02:00
|
|
|
|
2012-08-03 17:31:43 +02:00
|
|
|
Ansible ships with a number of modules (called the 'module library')
|
2019-06-26 23:07:27 +02:00
|
|
|
that can be executed directly on remote hosts or through :ref:`Playbooks <working_with_playbooks>`.
|
2013-12-25 19:23:58 +01:00
|
|
|
|
2015-07-17 19:53:13 +02: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 19:53:48 +01:00
|
|
|
|
2012-03-31 15:29:31 +02:00
|
|
|
|
|
|
|
.. seealso::
|
|
|
|
|
2019-06-26 23:07:27 +02:00
|
|
|
:ref:`intro_adhoc`
|
2012-04-13 00:20:52 +02:00
|
|
|
Examples of using modules in /usr/bin/ansible
|
2019-06-26 23:07:27 +02:00
|
|
|
:ref:`playbooks_intro`
|
|
|
|
Introduction to using modules with /usr/bin/ansible-playbook
|
|
|
|
:ref:`developing_modules_general`
|
2012-03-31 16:21:28 +02:00
|
|
|
How to write your own modules
|
2019-06-26 23:07:27 +02:00
|
|
|
:ref:`developing_api`
|
2012-03-31 15:29:31 +02:00
|
|
|
Examples of using modules with the Python API
|
2019-06-26 23:07:27 +02:00
|
|
|
:ref:`interpreter_discovery`
|
2019-02-28 08:52:02 +01: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 15:55:37 +02:00
|
|
|
Questions? Help? Ideas? Stop by the list on Google Groups
|
|
|
|
`irc.freenode.net <http://irc.freenode.net>`_
|
|
|
|
#ansible IRC chat channel
|