最近更新的页面
Ansible and Python 3
The ansible-core code runs Python 3 (for specific versions check Control Node Requirements <con...
Ansible module architecture<span id="flow_modules"></span>
If you are working on the ansible-core code, writing an Ansible module, or developing an action ...
Developing plugins<span id="developing_plugins"></span>
Plugins augment Ansible's core functionality with logic and features that are accessible to all m...
Creating a new collection
Starting with Ansible 2.10, related modules should be developed in a collection. The Ansible Core...
Windows module development walkthrough
In this section, we will walk through developing, testing, and debugging an Ansible Windows modul...
Developing modules<span id="developing_modules_general"></span>
A module is a reusable, standalone script that Ansible runs on your behalf, either locally or rem...
Module format and documentation<span id="developing_modules_documenting"></span>
In most cases if you want to contribute your module to an Ansible collection, you should write yo...
Contributing your module to an existing Ansible collection<span id="developing_modules_checklist"></span>
If you want to contribute a module to an existing collection, you must meet the community's objec...
Conventions, tips, and pitfalls<span id="developing_modules_best_practices"></span>
Topics As you design and develop modules, follow these basic conventions and tips for clean, usab...
Should you develop a module?<span id="developing_modules"></span>
Developing Ansible modules is easy, but often it is not necessary. Before you start writing a new...
Using and developing module utilities
Ansible provides a number of module utilities, or snippets of shared code, that provide helper fu...
Adding modules and plugins locally<span id="using_local_modules_and_plugins"></span>
You can extend Ansible by adding custom modules or plugins. You can create them from scratch or c...
Developing dynamic inventory
Ansible can pull inventory information from dynamic sources, including cloud sources, by using th...
Developing `ansible-core`
Although ansible-core (the code hosted in the ansible/ansible repository on GitHub) includes a f...
Testing collections
Testing your collection ensures that your code works well and integrates well with the rest of th...
Collection structure
A collection is a simple data structure. None of the directories are required unless you have spe...
Using shared resources in collections
Although developing Ansible modules contained in collections is similar to developing standalone ...
Resource reporting
Ansible modules often interact with external systems such as clouds, hypervisors, and network con...
Ansible collection creator path
[!NOTE] If you are unfamiliar with Ansible collections, first take a look at the Using Ansible c...
Migrating Ansible content to a different collection
You might decide to move content from one collection to another; for example, to extract a set of...