ceb474bb9e
Batch of docs backports: * docs: Clarify include_task v import_tasks with conditionals (#43856) (cherry picked from commit6be42a2a0e
) * Add single quotes around package name (#45152) (cherry picked from commit0d81386144
) * prefer ansible_facts namespace and dict notation (#44980) (cherry picked from commit44510448b0
) * fix cherrypick conflict - scenario_guides * Update implicit_localhost.rst (#45455) (cherry picked from commitf68cd1acc6
) * updated fbsd install instructions (#45309) (cherry picked from commite9c2695ce7
) * Change "Defaulting Undefined Variables" (#41379) (cherry picked from commite35c4be1c1
) * adds license details to dev guide pages (#45574) (cherry picked from commit6e68d77f6d
) * FAQ: fix a typo, add link to 'vars' lookup (#42412) (cherry picked from commit95649dc793
) * Fix link and toctree (#45595) (cherry picked from commit6999bf318f
) * Improve the local toctree (and title) (#45590) (cherry picked from commitafea00fa9f
) * Add undocumented configuration parameter and explain in porting guide (#36059) (cherry picked from commita892a6ef03
) * Simplify PPA installation for Ubuntu (#45690) (cherry picked from commit78e9f452a5
) * adding git+ssh uri scheme (#36025) (cherry picked from commit84a4257774
) * Add workaround for non-standard kerberos environments (#41465) (cherry picked from commit4e532e0ad9
) * Restore license agreement (#45809) (cherry picked from commitf430f60541
) * partial cherry-pick - lenovo doc update PR 45483
68 lines
2.7 KiB
ReStructuredText
68 lines
2.7 KiB
ReStructuredText
***************
|
|
Developer Guide
|
|
***************
|
|
|
|
Welcome to the Ansible Developer Guide!
|
|
|
|
**Who should use this guide?**
|
|
|
|
If you want to extend Ansible by using a custom module or plugin locally, creating a module or plugin, adding functionality to an existing module, or expanding test coverage, this guide is for you. We've included detailed information for developers on how to test and document modules, as well as the prerequisites for getting your module or plugin accepted into the main Ansible repository.
|
|
|
|
Find the task that best describes what you want to do:
|
|
|
|
* I'm looking for a way to address a use case:
|
|
|
|
* I want to :ref:`add a custom plugin or module locally <developing_locally>`.
|
|
* I want to figure out if :ref:`developing a module is the right approach <module_dev_should_you>` for my use case.
|
|
|
|
* I'm ready to start developing:
|
|
|
|
* I want to :ref:`set up my Python development environment <environment_setup>`.
|
|
* I want to :ref:`get started writing a module <developing_modules_general>`.
|
|
* I want to :ref:`write a Windows module <developing_modules_general_windows>`.
|
|
* I want to :ref:`write a series of related modules <developing_modules_in_groups>` that integrate Ansible with a new product (for example, a database, cloud provider, network platform, etc.).
|
|
|
|
* I want to refine my code:
|
|
|
|
* I want to :ref:`debug my module code <debugging>`.
|
|
* I want to :ref:`test my module <developing_testing>`.
|
|
* I want to :ref:`document my module <module_documenting>`.
|
|
* I want to :ref:`make sure my code runs on Python 2 and Python 3 <developing_python_3>`.
|
|
|
|
* I want to work on other development projects:
|
|
|
|
* I want to :ref:`write a plugin <developing_plugins>`.
|
|
* I want to :ref:`connect Ansible to a new source of inventory <developing_inventory>`.
|
|
* I want to :ref:`deprecate an outdated module <deprecating_modules>`.
|
|
|
|
* I want to contribute back to the Ansible project:
|
|
|
|
* I want to :ref:`contribute my module or plugin <developing_modules_checklist>`.
|
|
* I want to :ref:`understand the license agreement <contributor_license_agreement>` for contributions to Ansible.
|
|
|
|
If you prefer to read the entire guide, here's a list of the pages in order.
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
|
|
developing_locally
|
|
developing_modules
|
|
developing_modules_general
|
|
developing_modules_checklist
|
|
developing_modules_best_practices
|
|
developing_python_3
|
|
debugging
|
|
developing_modules_documenting
|
|
developing_modules_general_windows
|
|
developing_modules_general_aci
|
|
developing_modules_in_groups
|
|
testing
|
|
module_lifecycle
|
|
developing_plugins
|
|
developing_inventory
|
|
developing_core
|
|
developing_program_flow_modules
|
|
developing_api
|
|
developing_rebasing
|
|
developing_module_utilities
|
|
overview_architecture
|