跳转到主要内容
目录240
-
第 1 章
Collections
1 页
-
1.1
Indexes of all modules and plugins
index* deprecations
7 分钟前
-
第 2 章
Collections Guide
7 页
-
2.1
Downloading collections
To download a collection and its dependencies for an offline install, run
ansible-galaxy collection downlo...
7 分钟前
-
2.2
Collections index
You can find an index of collections at
list_of_collections.
7 分钟前
-
2.3
Installing collections
[!NOTE]
If you install a collection manually as described in this paragraph, the collection will not be upg...
7 分钟前
-
2.4
Listing collections
To list installed collections, run
ansible-galaxy collection list. This shows all of the installed collect...
7 分钟前
-
2.5
Using collections in a playbook<span id="using_collections"></span>
Once installed, you can reference a collection content by its fully qualified collection name (FQCN):
- nam...
7 分钟前
-
2.6
Verifying collections
Verifying collections with
ansible-galaxy
Once installed, you can verify that the content of the installed...
7 分钟前
-
2.7
Using Ansible collections<span id="collections_index"></span>
[!NOTE]
Making Open Source More Inclusive
Red Hat is committed to replacing problematic language in our cod...
7 分钟前
-
09
404
orphan
Oops!
The version of the Ansible documentation you were looking at doesn't contain that page.
Use th...
8 分钟前
-
第 3 章
Command Guide
4 页
-
3.1
Ansible CLI cheatsheet
This page shows one or more examples of each Ansible command line utility with some common flags added and ...
7 分钟前
-
3.2
Working with command line tools
Most users are familiar with ansible and ansible-playbook, but those are not the only utilities Ansible pro...
7 分钟前
-
3.3
Using Ansible command line tools
[!NOTE]
Making Open Source More Inclusive
Red Hat is committed to replacing problematic language in our cod...
7 分钟前
-
3.4
Introduction to ad hoc commands
An Ansible ad hoc command uses the /usr/bin/ansible command-line tool to automate a single task on one or m...
7 分钟前
-
14
Ansible Documentation
Welcome to Ansible community documentation! This documentation covers the version of Ansible noted in the u...
7 分钟前
-
第 4 章
Community
47 页
-
4.1
Advanced Contributor Guide
This guide focuses on contributors who are committers, GitHub admins, release managers, or Ansible ecosyste...
7 分钟前
-
4.2
Ansible Community Policy for AI-Assisted Contributions
This policy uses the term "AI" as shorthand for technology that is generally built using the machine learni...
7 分钟前
-
4.3
Community Code of Conduct
Topics
Every community can be strengthened by a diverse variety of viewpoints, insights, opinions, skillset...
7 分钟前
-
4.4
Understanding integration tests
[!NOTE]
Some collections do not have integration tests.
Integration tests are functional tests of modules a...
7 分钟前
-
4.5
Creating new integration tests
This section covers the following cases:
There are no integration tests for a collection or group of module...
7 分钟前
-
4.6
Running integration tests
In the following examples, we will use
Docker to run integration tests locally. Ensure you
collection_pre...
7 分钟前
-
4.7
Adding integration tests to a collection
This section describes the steps to add integration tests to a collection and how to run them locally using...
7 分钟前
-
4.8
Adding to an existing integration test
The test tasks are stored in the
tests/integration/targets/<target_name>/tasks directory.
The
main.yml fi...
7 分钟前
-
4.9
Ansible Community Package Collections Removal Process
Overview
Sometimes the Ansible community removes a collection from the Ansible package for stability, legal...
7 分钟前
-
4.10
Releasing collections with release branches
Collections MUST follow the semantic versioning rules. See
releasing_collections for high-level details.
R...
7 分钟前
-
4.11
Releasing collections without release branches
Since no release branches are used, this section does not distinguish between releasing a major, minor, or ...
7 分钟前
-
4.12
Releasing collections<span id="releasing_collections"></span>
Collection maintainers release all supported stable versions of the collections regularly, provided that th...
7 分钟前
-
4.13
Ansible community package collections requirements
Overview
This document describes the requirements for Ansible community collections included in the Ansible...
7 分钟前
-
4.14
Review checklist for collection PRs
Use this section as a checklist reminder of items to review when you review a collection PR.
Reviewing bug ...
7 分钟前
-
4.15
How to test a collection PR
Reviewers and issue authors can verify a PR fixes the reported bug by testing the PR locally.
Prepare your ...
7 分钟前
-
4.16
Add unit tests to a collection
This section describes all of the steps needed to add unit tests to a collection and how to run them locall...
7 分钟前
-
4.17
Testing Collection Contributions
This section focuses on the different tests a contributor should run on their collection PR.
collection_tes...
7 分钟前
-
4.18
The Ansible Collections Development Cycle
Ansible developers (including community contributors) add new features, fix bugs, and update code in many d...
7 分钟前
-
4.19
Committers Guidelines
These are the guidelines for people with commit privileges on the repositories in the ansible and ansible-c...
7 分钟前
-
4.20
Communicating with the Ansible community
Code of Conduct
All interactions within the Ansible Community are governed by our
code_of_conduct. Please ...
7 分钟前
-
4.21
Contributing to Ansible-maintained Collections
The Ansible team welcomes community contributions to the collections maintained by Red Hat Ansible Engineer...
7 分钟前
-
4.22
ansible-core Contributors Guide
reporting_bugs_and_features documentation_contributions development_process other_tools_and_programs
If you...
6 分钟前
-
4.23
Ansible Collections Contributor Guide
collection_development_process reporting_collections create_pr_quick_start collection_contributors/test_ind...
6 分钟前
-
4.24
Contributor path
This section describes the contributor's journey from the beginning to becoming a leader who helps shape th...
6 分钟前
-
4.25
Creating your first collection pull request
This section describes all the steps needed to create your first patch and submit a pull request on a colle...
6 分钟前
-
4.26
Developer Certificate Of Origin
By contributing to this project you agree to the Developer Certificate of Origin (DCO). This document was c...
6 分钟前
-
4.27
The Ansible Development Cycle
Ansible developers (including community contributors) add new features, fix bugs, and update code in many d...
6 分钟前
-
4.28
Contributing to the Ansible Documentation
Ansible has a lot of documentation and a small team of writers. Community support helps us keep up with new...
6 分钟前
-
4.29
Ansible Ecosystem Project Development Resources
This document lists resources to help contributors interested in developing a community project in the Ansi...
6 分钟前
-
4.30
Getting started
Welcome and thank you for getting more involved with the Ansible community. Here are some ways you can get ...
6 分钟前
-
4.31
GitHub Admins
Topics
GitHub Admins have more permissions on GitHub than normal contributors or even committers. There are...
6 分钟前
-
4.32
How can I help?
Thanks for being interested in helping the Ansible project!
There are many ways to help the Ansible project...
6 分钟前
-
4.33
Ansible Community Guide
[!NOTE]
Making Open Source More Inclusive
Red Hat is committed to replacing problematic language in our cod...
6 分钟前
-
4.34
Guidelines for collection maintainers
Thank you for being a community collection maintainer. This guide offers an overview of your responsibiliti...
6 分钟前
-
4.35
Maintainer responsibilities
This document provides guidance for:
Contributors to collections who want to join maintainer teams.
Collect...
6 分钟前
-
4.36
Ansible Collection Maintenance and Workflow
Each collection community can set its own rules and workflows for managing pull requests (PRs), bug reports...
6 分钟前
-
4.37
Other Tools and Programs
The Ansible community uses a range of tools for working with the Ansible project. This is a list of some of...
6 分钟前
-
4.38
Reporting bugs and requesting features
Reporting a bug
Security bugs
Ansible practices responsible disclosure. To report security-related bugs, se...
6 分钟前
-
4.39
Requesting changes to a collection
Reporting a bug
Security bugs
Ansible practices responsible disclosure - if this is a security-related bug,...
6 分钟前
-
4.40
Secure development practices
This page indexes secure development practices for Ansible projects. Follow the linked documentation for fu...
6 分钟前
-
4.41
Ansible security policy
Commitment
Red Hat is committed to maintaining the highest level of security and trust for all users. Red H...
6 分钟前
-
4.42
Steering Committee mission and responsibilities
The Steering Committee mission is to provide continuity, guidance, and suggestions to the Ansible community...
6 分钟前
-
4.43
Community topics workflow
Overview
This document describes the Ansible community topics workflow to provide guidance on successful re...
6 分钟前
-
4.44
Steering Committee membership guidelines
This document describes the expectations and policies related to membership in the
Ansible Community Steer...
6 分钟前
-
4.45
Steering Committee past members
The Ansible Community is very grateful to these amazing nonreplaceable people for their great service to th...
6 分钟前
-
4.46
Ansible Community Steering Committee
This section focuses on the guidelines and membership of the Ansible Community Steering Committee.
communit...
6 分钟前
-
4.47
Ansible vulnerability management and incident response policy
Purpose
This policy establishes a structured, repeatable framework for identifying, triaging, remediating, ...
5 分钟前
-
第 5 章
Dev Guide
102 页
-
5.1
Developer Guide
[!NOTE]
Making Open Source More Inclusive
Red Hat is committed to replacing problematic language in our cod...
5 分钟前
-
5.2
Ansible markup
Ansible markup allows you to format and structure documentation for Ansible modules, plugins, and roles. It...
5 分钟前
-
5.3
`ansible-core` project branches and tags
devel branch
All new development on the next version of
ansible-core occurs exclusively in the
devel bran...
5 分钟前
-
5.4
Developer Guide
[!NOTE]
Making Open Source More Inclusive
Red Hat is committed to replacing problematic language in our cod...
5 分钟前
-
5.5
Debugging modules
Detailed debugging steps
Ansible modules are put together as a zip file consisting of the module file and t...
5 分钟前
-
5.6
Python API
Topics
Attention
The Ansible API is intended for internal Ansible use. Ansible may make changes to this API...
5 分钟前
-
5.7
Developing collections
Collections are a distribution format for Ansible content. You can package and distribute playbooks, roles,...
5 分钟前
-
5.8
Generating changelogs and porting guide entries in a collection
You can create and share changelog and porting guide entries for your collection. If your collection is par...
5 分钟前
-
5.9
Contributing to collections
If you want to add functionality to an existing collection, modify a collection you are using to fix a bug,...
5 分钟前
-
5.10
Creating collections
To create a collection:
Create a
new collection<creating_new_collections>, optionally using a custom
coll...
5 分钟前
-
5.11
Distributing collections
A collection is a distribution format for Ansible content. A typical collection contains modules and other ...
5 分钟前
-
5.12
Documenting collections
Documenting modules and plugins
Documenting modules is thoroughly documented in
module_documenting. Plugin...
5 分钟前
-
5.13
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 related m...
5 分钟前
-
5.14
Ansible collection creator path
[!NOTE]
If you are unfamiliar with Ansible collections, first take a look at the
Using Ansible collections...
5 分钟前
-
5.15
Resource reporting
Ansible modules often interact with external systems such as clouds, hypervisors, and network controllers t...
5 分钟前
-
5.16
Using shared resources in collections
Although developing Ansible modules contained in collections is similar to developing standalone Ansible mo...
5 分钟前
-
5.17
Collection structure
A collection is a simple data structure. None of the directories are required unless you have specific cont...
5 分钟前
-
5.18
Testing collections
Testing your collection ensures that your code works well and integrates well with the rest of the Ansible ...
5 分钟前
-
5.19
Developing `ansible-core`
Although
ansible-core (the code hosted in the ansible/ansible repository on GitHub) includes a few plugins...
5 分钟前
-
5.20
Developing dynamic inventory
Ansible can pull inventory information from dynamic sources, including cloud sources, by using the supplied...
5 分钟前
-
5.21
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 copy existi...
5 分钟前
-
5.22
Using and developing module utilities
Ansible provides a number of module utilities, or snippets of shared code, that provide helper functions yo...
5 分钟前
-
5.23
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 module, a...
5 分钟前
-
5.24
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, usable code:
S...
4 分钟前
-
5.25
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 objective and s...
4 分钟前
-
5.26
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 your module ...
4 分钟前
-
5.27
Developing modules<span id="developing_modules_general"></span>
A module is a reusable, standalone script that Ansible runs on your behalf, either locally or remotely. Mod...
4 分钟前
-
5.28
Windows module development walkthrough
In this section, we will walk through developing, testing, and debugging an Ansible Windows module.
Because...
4 分钟前
-
5.29
Creating a new collection
Starting with Ansible 2.10, related modules should be developed in a collection. The Ansible Core team and ...
4 分钟前
-
5.30
Developing plugins<span id="developing_plugins"></span>
Plugins augment Ansible's core functionality with logic and features that are accessible to all modules. An...
4 分钟前
-
5.31
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 plugin, yo...
4 分钟前
-
5.32
Ansible and Python 3
The
ansible-core code runs Python 3 (for specific versions check
Control Node Requirements <control_node_...
4 分钟前
-
5.33
Rebasing a pull request
You may find that your pull request (PR) is out-of-date and needs to be rebased. This can happen for severa...
4 分钟前
-
5.34
Handling secrets in modules and plugins
2.22
ansible-core 2.22 adds a secret masking API that modules and plugins can use to register sensitive val...
4 分钟前
-
5.35
Migrating Roles to Roles in Collections on Galaxy
You can migrate any existing standalone role into a collection and host the collection on Galaxy. With Ansi...
4 分钟前
-
5.36
The lifecycle of an Ansible module or plugin
Modules and plugins in the main Ansible repository have a defined life cycle, from the first introduction t...
4 分钟前
-
5.37
Ansible architecture
Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration managem...
4 分钟前
-
5.38
Adjacent YAML documentation files
YAML documentation for plugins
For most Ansible plugins, the documentation is in the same file as the code....
4 分钟前
-
5.39
Basic rules
Use standard American English
Ansible uses Standard American English. Watch for common words that are spell...
4 分钟前
-
5.40
Grammar and Punctuation
Common Styles and Usage, and Common Mistakes
Ansible
Write "Ansible." Not "Ansible, Inc." or "AnsibleWorks ...
4 分钟前
-
5.41
Ansible documentation style guide
Welcome to the Ansible style guide! To create clear, concise, consistent, useful materials on docs.ansible....
4 分钟前
-
5.42
Preferred terminology
The following is the list of preferred terms for Ansible ecosystem projects.
Ansible
Use on all occurrences...
4 分钟前
-
5.43
Resources
Follow the style of the
Ansible Documentation<ansible_documentation>
Ask the community for advice. Visit t...
4 分钟前
-
5.44
Writing documentation so search can find it
One of the keys to writing good documentation is to make it findable. Readers use a combination of internal...
4 分钟前
-
5.45
Spelling - Word Usage - Common Words and Phrases to Use and Avoid
Acronyms
Always uppercase. An acronym is a word formed from the initial letters of a name, such as ROM for ...
4 分钟前
-
5.46
Trademark Usage
Why is it important to use the TM, SM, and ® for our registered marks?
Before a trademark is registered wit...
4 分钟前
-
5.47
Voice Style
The essence of the Ansible writing style is short sentences that flow naturally together. Mix up sentence s...
4 分钟前
-
5.48
Testing Ansible
testing_sanity testing_units testing_units_modules testing_integration testing_httptester testing_running_l...
4 分钟前
-
5.49
action-plugin-docs
Each action plugin should have a matching module of the same name to provide documentation.
4 分钟前
-
5.50
ansible-doc
Verifies that
ansible-doc can parse module documentation on all supported Python versions.
4 分钟前
-
5.51
ansible-requirements
test/lib/ansible_test/_data/requirements/sanity.import-plugins.txt must be an identical copy of
requiremen...
4 分钟前
-
5.52
bin-symlinks
The
bin/ directory in Ansible must contain only symbolic links to executable files. These files must resid...
4 分钟前
-
5.53
boilerplate
Python files should include the following boilerplate:
from __future__ import annotations
4 分钟前
-
5.54
changelog
Basic linting of changelog fragments with antsibull-changelog lint.
One or more of the following sections a...
4 分钟前
-
5.55
compile
All Python source files must successfully compile using all supported Python versions.
[!NOTE]
The list of ...
4 分钟前
-
5.56
deprecated-config
DOCUMENTATION config is scheduled for removal
4 分钟前
-
5.57
empty-init
The
__init__.py files under the following directories must be empty. For some of these (modules and tests)...
4 分钟前
-
5.58
future-import-boilerplate
Most Python files should include the following boilerplate at the top of the file, right after the comment ...
4 分钟前
-
5.59
ignores
Sanity tests for individual files can be skipped, and specific errors can be ignored.
When to Ignore Errors...
4 分钟前
-
5.60
import
Ansible
allows unchecked imports<allowed_unchecked_imports> of some libraries from specific directories. I...
3 分钟前
-
5.61
Sanity Tests
The following sanity tests are available as
--test options for
ansible-test sanity when testing Ansible C...
3 分钟前
-
5.62
integration-aliases
Integration tests are executed by
ansible-test and reside in directories under
test/integration/targets/....
3 分钟前
-
5.63
line-endings
All files must use
\n for line endings instead of
\r\n.
3 分钟前
-
5.64
mypy
The
mypy static type checker is used to check the following code against each Python version supported by ...
3 分钟前
-
5.65
no-assert
Do not use
assert in production Ansible python code. When running Python with optimizations, Python will r...
3 分钟前
-
5.66
no-basestring
Do not use
isinstance(s, basestring) as basestring has been removed in Python3. You can import
string_typ...
3 分钟前
-
5.67
no-dict-iteritems
The
dict.iteritems method has been removed in Python 3. There are two recommended alternatives:
for KEY, V...
3 分钟前
-
5.68
no-dict-iterkeys
The
dict.iterkeys method has been removed in Python 3. Use the following instead:
for KEY in DICT:
pass
3 分钟前
-
5.69
no-dict-itervalues
The
dict.itervalues method has been removed in Python 3. There are two recommended alternatives:
for VALUE...
3 分钟前
-
5.70
no-get-exception
We created a function,
ansible.module_utils.pycompat24.get_exception to help retrieve exceptions in a mann...
3 分钟前
-
5.71
no-illegal-filenames
Files and directories should not contain illegal characters or names so that Ansible can be checked out on ...
3 分钟前
-
5.72
no-main-display
As of Ansible 2.8,
Display should no longer be imported from
__main__.
Display is now a singleton and sho...
3 分钟前
-
5.73
no-smart-quotes
Smart quotes (
”“‘’) should not be used. Use plain ascii quotes (
"') instead.
3 分钟前
-
5.74
no-tests-as-filters
orphan
no-tests-as-filters
Using Ansible provided Jinja2 tests as filters will be removed in Ansible 2.9.
P...
3 分钟前
-
5.75
no-unicode-literals
The use of
from __future__ import unicode_literals has been deemed an anti-pattern. The problems with it a...
3 分钟前
-
5.76
no-unwanted-files
Specific file types are allowed in certain directories:
lib - All content must reside in the
lib/ansible d...
3 分钟前
-
5.77
obsolete-files
Directories in the Ansible source tree are sometimes made obsolete. Files should not exist in these directo...
3 分钟前
-
5.78
package-data
Verifies the contents of the built
ansible-core sdist and wheel.
3 分钟前
-
5.79
pep8
Python static analysis for PEP 8 style guideline compliance.
PEP 8 style guidelines are enforced by pycodes...
3 分钟前
-
5.80
pslint
PowerShell static analysis for common programming errors using PSScriptAnalyzer.
3 分钟前
-
5.81
pylint
Python static analysis for common programming errors.
3 分钟前
-
5.82
pymarkdown
Check Markdown files for syntax and formatting issues.
3 分钟前
-
5.83
release-names
Verifies that the most recent release name has been added to
./github/RELEASE_NAMES.yml
3 分钟前
-
5.84
replace-urlopen
Use
open_url from
module_utils instead of
urlopen.
3 分钟前
-
5.85
required-and-default-attributes
Use only one of
default or
required with
FieldAttribute.
3 分钟前
-
5.86
runtime-metadata
Validates the schema for:
ansible-core's
lib/ansible/config/ansible_builtin_runtime.yml
collection's
meta...
3 分钟前
-
5.87
shebang
Most executable files should only use one of the following shebangs:
#!/bin/sh
#!/bin/bash -eu
#!/bin/bash ...
3 分钟前
-
5.88
shellcheck
Static code analysis for shell scripts using the excellent shellcheck tool.
3 分钟前
-
5.89
symlinks
Symbolic links are only permitted for files that exist to ensure proper tarball generation during a release...
3 分钟前
-
5.90
test-constraints
Constraints for test requirements should be in
test/lib/ansible_test/_data/requirements/constraints.txt.
3 分钟前
-
5.91
update-bundled
Check whether any of our known bundled code needs to be updated for a new upstream release.
This test can e...
3 分钟前
-
5.92
use-argspec-type-path
The AnsibleModule argument_spec knows of several types beyond the standard python types. One of these is
p...
3 分钟前
-
5.93
use-compat-six
Use
six from
module_utils instead of
six.
2 分钟前
-
5.94
validate-modules
Analyze modules for common issues in code and documentation.
Usage
cd /path/to/ansible/source
source hackin...
2 分钟前
-
5.95
yamllint
Check YAML files for syntax and formatting issues.
2 分钟前
-
5.96
Testing plugin documentation<span id="testing_module_documentation"></span>
A quick test while developing is to use
ansible-doc -t <plugin_type> <name> to see if it renders, you migh...
2 分钟前
-
5.97
httptester
Topics
Overview
httptester is a docker container used to host certain resources required by
testing_integr...
2 分钟前
-
5.98
Integration tests
Topics
The Ansible integration Test system.
Tests for playbooks, by playbooks.
Some tests may require crede...
2 分钟前
-
5.99
Testing Ansible and Collections
This document describes how to run tests using
ansible-test.
Setup
Before running
ansible-test, set up yo...
2 分钟前
-
5.100
Sanity Tests
Topics
Sanity tests are made up of scripts and tools used to perform static code analysis. The primary purp...
2 分钟前
-
5.101
Unit Tests
Unit tests are small isolated tests that target a specific library or module. Unit tests in Ansible are cur...
2 分钟前
-
5.102
Unit Testing Ansible Modules
Topics
Introduction
This document explains why, how and when you should use unit tests for Ansible modules....
2 分钟前
-
第 6 章
Galaxy
2 页
-
6.1
Galaxy Developer Guide
You can host collections and roles on Galaxy to share with the Ansible community. Galaxy content is formatt...
2 分钟前
-
6.2
Galaxy User Guide<span id="using_galaxy"></span>
Ansible Galaxy refers to the Galaxy website, a free site for finding, downloading, and sharing community de...
2 分钟前
-
第 7 章
Getting Started
6 页
-
7.1
Ansible concepts
These concepts are common to all uses of Ansible. You should understand them before using Ansible or readin...
2 分钟前
-
7.2
Start automating with Ansible
Get started with Ansible by creating an automation project, building an inventory, and creating a "Hello Wo...
2 分钟前
-
7.3
Building an inventory
Inventories organize managed nodes in centralized files that provide Ansible with system information and ne...
2 分钟前
-
7.4
Creating a playbook
Playbooks are automation blueprints, in
YAML format, that Ansible uses to deploy and configure managed nod...
2 分钟前
-
7.5
Getting started with Ansible
Ansible automates the management of remote systems and controls their desired state.
As shown in the preced...
2 分钟前
-
7.6
Introduction to Ansible
Ansible provides open-source automation that reduces complexity and runs everywhere. Using Ansible lets you...
2 分钟前
-
第 8 章
Getting Started Ee
6 页
-
8.1
Building your first Execution Environment
We are going to build an EE that represents an Ansible control node containing standard packages such as
a...
2 分钟前
-
8.2
Getting started with Execution Environments
You can run Ansible automation in containers, like any other modern software application. Ansible uses cont...
2 分钟前
-
8.3
Introduction to Execution Environments
Ansible Execution Environments aim to resolve complexity issues and provide all the benefits you can get fr...
2 分钟前
-
8.4
Running Ansible with the community EE image
You can run ansible without the need to build a custom EE using community images.
Use the
community-ee-min...
2 分钟前
-
8.5
Running your EE
You can run your EE on the command line against
localhost or a remote target using
ansible-navigator.
[!N...
2 分钟前
-
8.6
Setting up your environment
Complete the following steps to set up a local environment for your first Execution Environment:
Ensure the...
2 分钟前
-
第 9 章
Installation Guide
4 页
-
9.1
Installation Guide
Welcome to the Ansible Installation Guide!
intro_installation installation_distros intro_configuration
1 分钟前
-
9.2
Installing Ansible on specific operating systems
[!NOTE]
These instructions come from their respective communities. If you encounter bugs or issues, file th...
1 分钟前
-
9.3
Configuring Ansible
Topics
This topic describes how to control Ansible settings.
Configuration file
Certain settings in Ansible...
1 分钟前
-
9.4
Installing Ansible<span id="installation_guide"></span>
Ansible is an agentless automation tool that you install on a single host (referred to as the control node)...
1 分钟前
-
第 10 章
Inventory Guide
6 页
-
10.1
Connection methods and details
This section shows you how to expand and refine the connection methods Ansible uses for your inventory.
Con...
1 分钟前
-
10.2
Implicit 'localhost'
When you try to reference a
localhost and you don't have it defined in inventory, Ansible will create an i...
1 分钟前
-
10.3
Building Ansible inventories
[!NOTE]
Making Open Source More Inclusive
Red Hat is committed to replacing problematic language in our cod...
1 分钟前
-
10.4
Working with dynamic inventory<span id="intro_dynamic_inventory"></span>
If your Ansible inventory fluctuates over time, with hosts spinning up and shutting down in response to bus...
1 分钟前
-
10.5
How to build your inventory<span id="intro_inventory"></span>
Ansible automates tasks on managed nodes or "hosts" in your infrastructure by using a list or group of list...
1 分钟前
-
10.6
Patterns: targeting hosts and groups
When you execute Ansible through an ad hoc command or by running a playbook, you must choose which managed ...
1 分钟前
-
第 11 章
Module Plugin Guide
5 页
-
11.1
Using Ansible modules and plugins
[!NOTE]
Making Open Source More Inclusive
Red Hat is committed to replacing problematic language in our cod...
1 分钟前
-
11.2
Introduction to modules
Modules (also referred to as "task plugins" or "library plugins") are discrete units of code that can be us...
1 分钟前
-
11.3
Modules and plugins index
You can find an index of modules and plugins at
all_modules_and_plugins.
1 分钟前
-
11.4
Module maintenance and support
If you are using a module and you discover a bug, you may want to know where to report that bug, who is res...
1 分钟前
-
11.5
Rejecting modules
If you want to avoid using certain modules, you can add them to a reject list to prevent Ansible from loadi...
1 分钟前
-
第 12 章
Network
47 页
-
12.1
Developing network plugins<span id="developing_modules_network"></span>
You can extend the existing network modules with custom plugins in your collection.
Network connection plug...
1 分钟前
-
12.2
Developing network resource modules
Understanding network and security resource modules
Network and security devices separate configuration int...
1 分钟前
-
12.3
Documenting new network platforms
When you create network modules for a new platform, or modify the connections provided by an existing netwo...
1 分钟前
-
12.4
Network Developer Guide
Welcome to the Developer Guide for Ansible Network Automation!
Who should use this guide?
If you want to ex...
1 分钟前
-
12.5
Basic Concepts
These concepts are common to all uses of Ansible, including network automation. You need to understand them...
1 分钟前
-
12.6
Build Your Inventory
Running a playbook without an inventory requires several command-line flags. Also, running a playbook again...
1 分钟前
-
12.7
Run Your First Command and Playbook
Put the concepts you learned to work with this quick tutorial. Install Ansible, execute a network configura...
1 分钟前
-
12.8
Network Getting Started
Ansible collections support a wide range of vendors, device types, and actions, so you can manage your enti...
1 分钟前
-
12.9
Beyond the basics
This page introduces some concepts that help you manage your Ansible workflow with directory structure and ...
1 分钟前
-
12.10
Working with network connection options
Network modules can support multiple connection protocols, such as
ansible.netcommon.network_cli,
ansible...
1 分钟前
-
12.11
How Network Automation is Different
Network automation uses the basic Ansible concepts, but there are important differences in how the network ...
1 分钟前
-
12.12
Resources and next steps
Community
Visit the
Ansible communication guide<communication> for information on how to join the communit...
1 分钟前
-
12.13
Use Ansible network roles
Roles are sets of Ansible defaults, files, tasks, templates, variables, and other Ansible components that w...
1 分钟前
-
12.14
Parsing semi-structured text with Ansible
The
cli_parse <ansible.utils.cli_parse#module> module parses semi-structured data such as network configur...
1 分钟前
-
12.15
Ansible Network FAQ
Topics
How can I improve performance for network playbooks?
Consider
strategy: free if you are running on ...
1 分钟前
-
12.16
Network Advanced Topics
Once you have mastered the basics of network automation with Ansible, as presented in
network_getting_star...
44 秒前
-
12.17
Ansible Network Examples
This document describes some examples of using Ansible to manage your network infrastructure.
Prerequisites...
42 秒前
-
12.18
Network Debug and Troubleshooting Guide
This section discusses how to debug and troubleshoot network modules in Ansible.
How to troubleshoot
Ansibl...
39 秒前
-
12.19
Network Resource Modules
Ansible network resource modules simplify and standardize how you manage different network devices. Network...
38 秒前
-
12.20
Working with command output and prompts in network modules
Conditionals in networking modules
Ansible allows you to use conditionals to control the flow of your playb...
36 秒前
-
12.21
CloudEngine OS Platform Options
CloudEngine CE OS is part of the community.network collection and supports multiple connections. This page ...
35 秒前
-
12.22
CNOS Platform Options
CNOS is part of the community.network collection and supports Enable Mode (Privilege Escalation). This page...
34 秒前
-
12.23
Dell OS10 Platform Options
The dellemc.os10 collection supports Enable Mode (Privilege Escalation). This page offers details on how to...
33 秒前
-
12.24
Dell OS6 Platform Options
The dellemc.os6 collection supports Enable Mode (Privilege Escalation). This page offers details on how to ...
31 秒前
-
12.25
Dell OS9 Platform Options
The dellemc.os9 collection supports Enable Mode (Privilege Escalation). This page offers details on how to ...
30 秒前
-
12.26
ENOS Platform Options
ENOS is part of the community.network collection and supports Enable Mode (Privilege Escalation). This page...
29 秒前
-
12.27
EOS Platform Options
The Arista EOS collection supports multiple connections. This page offers details on how each connection wo...
28 秒前
-
12.28
ERIC_ECCLI Platform Options
Extreme ERIC_ECCLI is part of the community.network collection and only supports CLI connections today. Thi...
26 秒前
-
12.29
EXOS Platform Options
Extreme EXOS is part of the community.network collection and supports multiple connections. This page offer...
25 秒前
-
12.30
FRR Platform Options
The FRR collection supports the
ansible.netcommon.network_cli connection. This section provides details on...
24 秒前
-
12.31
ICX Platform Options
ICX is part of the community.network collection supports Enable Mode (Privilege Escalation). This page offe...
22 秒前
-
12.32
Platform Options
Some Ansible Network platforms support multiple connection types, privilege escalation (
enable mode), or o...
21 秒前
-
12.33
IOS Platform Options
The Cisco IOS collection supports Enable Mode (Privilege Escalation). This page offers details on how to us...
19 秒前
-
12.34
IOS-XR Platform Options
The Cisco IOS-XR collection supports multiple connections. This page offers details on how each connection ...
18 秒前
-
12.35
IronWare Platform Options
IronWare is part of the community.network collection and supports Enable Mode (Privilege Escalation). This ...
17 秒前
-
12.36
Junos OS Platform Options
The Juniper Junos OS supports multiple connections. This page offers details on how each connection works i...
15 秒前
-
12.37
Meraki Platform Options
The cisco.meraki collection only supports the
local connection type at this time.
Connections available
.....
14 秒前
-
12.38
Netconf enabled Platform Options
This page offers details on how the netconf connection works in Ansible and how to use it.
Connections avai...
13 秒前
-
12.39
Pluribus NETVISOR Platform Options
Pluribus NETVISOR Ansible is part of the community.network collection and only supports CLI connections tod...
11 秒前
-
12.40
NOS Platform Options
Extreme NOS is part of the community.network collection and only supports CLI connections today.
httpapi m...
10 秒前
-
12.41
NXOS Platform Options
The Cisco NXOS supports multiple connections. This page offers details on how each connection works in Ansi...
8 秒前
-
12.42
RouterOS Platform Options
RouterOS is part of the community.network collection and only supports CLI connections and direct API acces...
7 秒前
-
12.43
SLX-OS Platform Options
Extreme SLX-OS is part of the community.network collection and only supports CLI connections today.
httpap...
6 秒前
-
12.44
VOSS Platform Options
Extreme VOSS is part of the community.network collection and only supports CLI connections today. This page...
4 秒前
-
12.45
VyOS Platform Options
The VyOS collection supports the
ansible.netcommon.network_cli connection type. This page offers details o...
3 秒前
-
12.46
WeOS 4 Platform Options
Westermo WeOS 4 is part of the community.network collection and only supports CLI connections. This page of...
2 秒前
-
12.47
Validate data against set criteria with Ansible
The
validate <ansible.utils.validate#module> module validates data against your predefined criteria using ...
1 秒前
-
240
core_index
Ansible Core Documentation
Ansible Core, or
ansible-core is the main building block and architecture for A...
5 分钟前