跳转到主要内容

最近更新的页面

Ansible and Python 3

Ansible 用户指南 Dev Guide

The ansible-core code runs Python 3 (for specific versions check Control Node Requirements <con...

由 壳壳虫 更新于 1 周前

Ansible module architecture<span id="flow_modules"></span>

Ansible 用户指南 Dev Guide

If you are working on the ansible-core code, writing an Ansible module, or developing an action ...

由 壳壳虫 更新于 1 周前

Developing plugins<span id="developing_plugins"></span>

Ansible 用户指南 Dev Guide

Plugins augment Ansible's core functionality with logic and features that are accessible to all m...

由 壳壳虫 更新于 1 周前

Creating a new collection

Ansible 用户指南 Dev Guide

Starting with Ansible 2.10, related modules should be developed in a collection. The Ansible Core...

由 壳壳虫 更新于 1 周前

Windows module development walkthrough

Ansible 用户指南 Dev Guide

In this section, we will walk through developing, testing, and debugging an Ansible Windows modul...

由 壳壳虫 更新于 1 周前

Developing modules<span id="developing_modules_general"></span>

Ansible 用户指南 Dev Guide

A module is a reusable, standalone script that Ansible runs on your behalf, either locally or rem...

由 壳壳虫 更新于 1 周前

Module format and documentation<span id="developing_modules_documenting"></span>

Ansible 用户指南 Dev Guide

In most cases if you want to contribute your module to an Ansible collection, you should write yo...

由 壳壳虫 更新于 1 周前

Contributing your module to an existing Ansible collection<span id="developing_modules_checklist"></span>

Ansible 用户指南 Dev Guide

If you want to contribute a module to an existing collection, you must meet the community's objec...

由 壳壳虫 更新于 1 周前

Conventions, tips, and pitfalls<span id="developing_modules_best_practices"></span>

Ansible 用户指南 Dev Guide

Topics As you design and develop modules, follow these basic conventions and tips for clean, usab...

由 壳壳虫 更新于 1 周前

Should you develop a module?<span id="developing_modules"></span>

Ansible 用户指南 Dev Guide

Developing Ansible modules is easy, but often it is not necessary. Before you start writing a new...

由 壳壳虫 更新于 1 周前

Using and developing module utilities

Ansible 用户指南 Dev Guide

Ansible provides a number of module utilities, or snippets of shared code, that provide helper fu...

由 壳壳虫 更新于 1 周前

Adding modules and plugins locally<span id="using_local_modules_and_plugins"></span>

Ansible 用户指南 Dev Guide

You can extend Ansible by adding custom modules or plugins. You can create them from scratch or c...

由 壳壳虫 更新于 1 周前

Developing dynamic inventory

Ansible 用户指南 Dev Guide

Ansible can pull inventory information from dynamic sources, including cloud sources, by using th...

由 壳壳虫 更新于 1 周前

Developing `ansible-core`

Ansible 用户指南 Dev Guide

Although ansible-core (the code hosted in the ansible/ansible repository on GitHub) includes a f...

由 壳壳虫 更新于 1 周前

Testing collections

Ansible 用户指南 Dev Guide

Testing your collection ensures that your code works well and integrates well with the rest of th...

由 壳壳虫 更新于 1 周前

Collection structure

Ansible 用户指南 Dev Guide

A collection is a simple data structure. None of the directories are required unless you have spe...

由 壳壳虫 更新于 1 周前

Using shared resources in collections

Ansible 用户指南 Dev Guide

Although developing Ansible modules contained in collections is similar to developing standalone ...

由 壳壳虫 更新于 1 周前

Resource reporting

Ansible 用户指南 Dev Guide

Ansible modules often interact with external systems such as clouds, hypervisors, and network con...

由 壳壳虫 更新于 1 周前

Ansible collection creator path

Ansible 用户指南 Dev Guide

[!NOTE] If you are unfamiliar with Ansible collections, first take a look at the Using Ansible c...

由 壳壳虫 更新于 1 周前

Migrating Ansible content to a different collection

Ansible 用户指南 Dev Guide

You might decide to move content from one collection to another; for example, to extract a set of...

由 壳壳虫 更新于 1 周前