跳转到主要内容

书籍

Ansible 用户指南

Ansible 用户指南。内容保持上游原样。

12 章240 页更新于 8 分钟前

开始阅读

目录240

  1. 第 1 章 Collections 1 页
    1. 1.1 Indexes of all modules and plugins index* deprecations 7 分钟前
  2. 第 2 章 Collections Guide 7 页
    1. 2.1 Downloading collections To download a collection and its dependencies for an offline install, run ansible-galaxy collection downlo... 7 分钟前
    2. 2.2 Collections index You can find an index of collections at list_of_collections. 7 分钟前
    3. 2.3 Installing collections [!NOTE] If you install a collection manually as described in this paragraph, the collection will not be upg... 7 分钟前
    4. 2.4 Listing collections To list installed collections, run ansible-galaxy collection list. This shows all of the installed collect... 7 分钟前
    5. 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 分钟前
    6. 2.6 Verifying collections Verifying collections with ansible-galaxy Once installed, you can verify that the content of the installed... 7 分钟前
    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 分钟前
  3. 09 404 orphan Oops! The version of the Ansible documentation you were looking at doesn't contain that page. Use th... 8 分钟前
  4. 第 3 章 Command Guide 4 页
    1. 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 分钟前
    2. 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.3 Using Ansible command line tools [!NOTE] Making Open Source More Inclusive Red Hat is committed to replacing problematic language in our cod... 7 分钟前
    4. 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 分钟前
  5. 14 Ansible Documentation Welcome to Ansible community documentation! This documentation covers the version of Ansible noted in the u... 7 分钟前
  6. 第 4 章 Community 47 页
    1. 4.1 Advanced Contributor Guide This guide focuses on contributors who are committers, GitHub admins, release managers, or Ansible ecosyste... 7 分钟前
    2. 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 分钟前
    3. 4.3 Community Code of Conduct Topics Every community can be strengthened by a diverse variety of viewpoints, insights, opinions, skillset... 7 分钟前
    4. 4.4 Understanding integration tests [!NOTE] Some collections do not have integration tests. Integration tests are functional tests of modules a... 7 分钟前
    5. 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 分钟前
    6. 4.6 Running integration tests In the following examples, we will use Docker to run integration tests locally. Ensure you collection_pre... 7 分钟前
    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 分钟前
    8. 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 分钟前
    9. 4.9 Ansible Community Package Collections Removal Process Overview Sometimes the Ansible community removes a collection from the Ansible package for stability, legal... 7 分钟前
    10. 4.10 Releasing collections with release branches Collections MUST follow the semantic versioning rules. See releasing_collections for high-level details. R... 7 分钟前
    11. 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 分钟前
    12. 4.12 Releasing collections<span id="releasing_collections"></span> Collection maintainers release all supported stable versions of the collections regularly, provided that th... 7 分钟前
    13. 4.13 Ansible community package collections requirements Overview This document describes the requirements for Ansible community collections included in the Ansible... 7 分钟前
    14. 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 分钟前
    15. 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 分钟前
    16. 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 分钟前
    17. 4.17 Testing Collection Contributions This section focuses on the different tests a contributor should run on their collection PR. collection_tes... 7 分钟前
    18. 4.18 The Ansible Collections Development Cycle Ansible developers (including community contributors) add new features, fix bugs, and update code in many d... 7 分钟前
    19. 4.19 Committers Guidelines These are the guidelines for people with commit privileges on the repositories in the ansible and ansible-c... 7 分钟前
    20. 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 分钟前
    21. 4.21 Contributing to Ansible-maintained Collections The Ansible team welcomes community contributions to the collections maintained by Red Hat Ansible Engineer... 7 分钟前
    22. 4.22 ansible-core Contributors Guide reporting_bugs_and_features documentation_contributions development_process other_tools_and_programs If you... 6 分钟前
    23. 4.23 Ansible Collections Contributor Guide collection_development_process reporting_collections create_pr_quick_start collection_contributors/test_ind... 6 分钟前
    24. 4.24 Contributor path This section describes the contributor's journey from the beginning to becoming a leader who helps shape th... 6 分钟前
    25. 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 分钟前
    26. 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 分钟前
    27. 4.27 The Ansible Development Cycle Ansible developers (including community contributors) add new features, fix bugs, and update code in many d... 6 分钟前
    28. 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 分钟前
    29. 4.29 Ansible Ecosystem Project Development Resources This document lists resources to help contributors interested in developing a community project in the Ansi... 6 分钟前
    30. 4.30 Getting started Welcome and thank you for getting more involved with the Ansible community. Here are some ways you can get ... 6 分钟前
    31. 4.31 GitHub Admins Topics GitHub Admins have more permissions on GitHub than normal contributors or even committers. There are... 6 分钟前
    32. 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 分钟前
    33. 4.33 Ansible Community Guide [!NOTE] Making Open Source More Inclusive Red Hat is committed to replacing problematic language in our cod... 6 分钟前
    34. 4.34 Guidelines for collection maintainers Thank you for being a community collection maintainer. This guide offers an overview of your responsibiliti... 6 分钟前
    35. 4.35 Maintainer responsibilities This document provides guidance for: Contributors to collections who want to join maintainer teams. Collect... 6 分钟前
    36. 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 分钟前
    37. 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 分钟前
    38. 4.38 Reporting bugs and requesting features Reporting a bug Security bugs Ansible practices responsible disclosure. To report security-related bugs, se... 6 分钟前
    39. 4.39 Requesting changes to a collection Reporting a bug Security bugs Ansible practices responsible disclosure - if this is a security-related bug,... 6 分钟前
    40. 4.40 Secure development practices This page indexes secure development practices for Ansible projects. Follow the linked documentation for fu... 6 分钟前
    41. 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 分钟前
    42. 4.42 Steering Committee mission and responsibilities The Steering Committee mission is to provide continuity, guidance, and suggestions to the Ansible community... 6 分钟前
    43. 4.43 Community topics workflow Overview This document describes the Ansible community topics workflow to provide guidance on successful re... 6 分钟前
    44. 4.44 Steering Committee membership guidelines This document describes the expectations and policies related to membership in the Ansible Community Steer... 6 分钟前
    45. 4.45 Steering Committee past members The Ansible Community is very grateful to these amazing nonreplaceable people for their great service to th... 6 分钟前
    46. 4.46 Ansible Community Steering Committee This section focuses on the guidelines and membership of the Ansible Community Steering Committee. communit... 6 分钟前
    47. 4.47 Ansible vulnerability management and incident response policy Purpose This policy establishes a structured, repeatable framework for identifying, triaging, remediating, ... 5 分钟前
  7. 第 5 章 Dev Guide 102 页
    1. 5.1 Developer Guide [!NOTE] Making Open Source More Inclusive Red Hat is committed to replacing problematic language in our cod... 5 分钟前
    2. 5.2 Ansible markup Ansible markup allows you to format and structure documentation for Ansible modules, plugins, and roles. It... 5 分钟前
    3. 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 分钟前
    4. 5.4 Developer Guide [!NOTE] Making Open Source More Inclusive Red Hat is committed to replacing problematic language in our cod... 5 分钟前
    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 分钟前
    6. 5.6 Python API Topics Attention The Ansible API is intended for internal Ansible use. Ansible may make changes to this API... 5 分钟前
    7. 5.7 Developing collections Collections are a distribution format for Ansible content. You can package and distribute playbooks, roles,... 5 分钟前
    8. 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 分钟前
    9. 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 分钟前
    10. 5.10 Creating collections To create a collection: Create a new collection<creating_new_collections>, optionally using a custom coll... 5 分钟前
    11. 5.11 Distributing collections A collection is a distribution format for Ansible content. A typical collection contains modules and other ... 5 分钟前
    12. 5.12 Documenting collections Documenting modules and plugins Documenting modules is thoroughly documented in module_documenting. Plugin... 5 分钟前
    13. 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 分钟前
    14. 5.14 Ansible collection creator path [!NOTE] If you are unfamiliar with Ansible collections, first take a look at the Using Ansible collections... 5 分钟前
    15. 5.15 Resource reporting Ansible modules often interact with external systems such as clouds, hypervisors, and network controllers t... 5 分钟前
    16. 5.16 Using shared resources in collections Although developing Ansible modules contained in collections is similar to developing standalone Ansible mo... 5 分钟前
    17. 5.17 Collection structure A collection is a simple data structure. None of the directories are required unless you have specific cont... 5 分钟前
    18. 5.18 Testing collections Testing your collection ensures that your code works well and integrates well with the rest of the Ansible ... 5 分钟前
    19. 5.19 Developing `ansible-core` Although ansible-core (the code hosted in the ansible/ansible repository on GitHub) includes a few plugins... 5 分钟前
    20. 5.20 Developing dynamic inventory Ansible can pull inventory information from dynamic sources, including cloud sources, by using the supplied... 5 分钟前
    21. 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 分钟前
    22. 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 分钟前
    23. 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 分钟前
    24. 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 分钟前
    25. 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 分钟前
    26. 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 分钟前
    27. 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 分钟前
    28. 5.28 Windows module development walkthrough In this section, we will walk through developing, testing, and debugging an Ansible Windows module. Because... 4 分钟前
    29. 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 分钟前
    30. 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 分钟前
    31. 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 分钟前
    32. 5.32 Ansible and Python 3 The ansible-core code runs Python 3 (for specific versions check Control Node Requirements <control_node_... 4 分钟前
    33. 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 分钟前
    34. 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 分钟前
    35. 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 分钟前
    36. 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 分钟前
    37. 5.37 Ansible architecture Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration managem... 4 分钟前
    38. 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 分钟前
    39. 5.39 Basic rules Use standard American English Ansible uses Standard American English. Watch for common words that are spell... 4 分钟前
    40. 5.40 Grammar and Punctuation Common Styles and Usage, and Common Mistakes Ansible Write "Ansible." Not "Ansible, Inc." or "AnsibleWorks ... 4 分钟前
    41. 5.41 Ansible documentation style guide Welcome to the Ansible style guide! To create clear, concise, consistent, useful materials on docs.ansible.... 4 分钟前
    42. 5.42 Preferred terminology The following is the list of preferred terms for Ansible ecosystem projects. Ansible Use on all occurrences... 4 分钟前
    43. 5.43 Resources Follow the style of the Ansible Documentation<ansible_documentation> Ask the community for advice. Visit t... 4 分钟前
    44. 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 分钟前
    45. 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 分钟前
    46. 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 分钟前
    47. 5.47 Voice Style The essence of the Ansible writing style is short sentences that flow naturally together. Mix up sentence s... 4 分钟前
    48. 5.48 Testing Ansible testing_sanity testing_units testing_units_modules testing_integration testing_httptester testing_running_l... 4 分钟前
    49. 5.49 action-plugin-docs Each action plugin should have a matching module of the same name to provide documentation. 4 分钟前
    50. 5.50 ansible-doc Verifies that ansible-doc can parse module documentation on all supported Python versions. 4 分钟前
    51. 5.51 ansible-requirements test/lib/ansible_test/_data/requirements/sanity.import-plugins.txt must be an identical copy of requiremen... 4 分钟前
    52. 5.52 bin-symlinks The bin/ directory in Ansible must contain only symbolic links to executable files. These files must resid... 4 分钟前
    53. 5.53 boilerplate Python files should include the following boilerplate: from __future__ import annotations 4 分钟前
    54. 5.54 changelog Basic linting of changelog fragments with antsibull-changelog lint. One or more of the following sections a... 4 分钟前
    55. 5.55 compile All Python source files must successfully compile using all supported Python versions. [!NOTE] The list of ... 4 分钟前
    56. 5.56 deprecated-config DOCUMENTATION config is scheduled for removal 4 分钟前
    57. 5.57 empty-init The __init__.py files under the following directories must be empty. For some of these (modules and tests)... 4 分钟前
    58. 5.58 future-import-boilerplate Most Python files should include the following boilerplate at the top of the file, right after the comment ... 4 分钟前
    59. 5.59 ignores Sanity tests for individual files can be skipped, and specific errors can be ignored. When to Ignore Errors... 4 分钟前
    60. 5.60 import Ansible allows unchecked imports<allowed_unchecked_imports> of some libraries from specific directories. I... 3 分钟前
    61. 5.61 Sanity Tests The following sanity tests are available as --test options for ansible-test sanity when testing Ansible C... 3 分钟前
    62. 5.62 integration-aliases Integration tests are executed by ansible-test and reside in directories under test/integration/targets/.... 3 分钟前
    63. 5.63 line-endings All files must use \n for line endings instead of \r\n. 3 分钟前
    64. 5.64 mypy The mypy static type checker is used to check the following code against each Python version supported by ... 3 分钟前
    65. 5.65 no-assert Do not use assert in production Ansible python code. When running Python with optimizations, Python will r... 3 分钟前
    66. 5.66 no-basestring Do not use isinstance(s, basestring) as basestring has been removed in Python3. You can import string_typ... 3 分钟前
    67. 5.67 no-dict-iteritems The dict.iteritems method has been removed in Python 3. There are two recommended alternatives: for KEY, V... 3 分钟前
    68. 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 分钟前
    69. 5.69 no-dict-itervalues The dict.itervalues method has been removed in Python 3. There are two recommended alternatives: for VALUE... 3 分钟前
    70. 5.70 no-get-exception We created a function, ansible.module_utils.pycompat24.get_exception to help retrieve exceptions in a mann... 3 分钟前
    71. 5.71 no-illegal-filenames Files and directories should not contain illegal characters or names so that Ansible can be checked out on ... 3 分钟前
    72. 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 分钟前
    73. 5.73 no-smart-quotes Smart quotes ( ”“‘’) should not be used. Use plain ascii quotes ( "') instead. 3 分钟前
    74. 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 分钟前
    75. 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 分钟前
    76. 5.76 no-unwanted-files Specific file types are allowed in certain directories: lib - All content must reside in the lib/ansible d... 3 分钟前
    77. 5.77 obsolete-files Directories in the Ansible source tree are sometimes made obsolete. Files should not exist in these directo... 3 分钟前
    78. 5.78 package-data Verifies the contents of the built ansible-core sdist and wheel. 3 分钟前
    79. 5.79 pep8 Python static analysis for PEP 8 style guideline compliance. PEP 8 style guidelines are enforced by pycodes... 3 分钟前
    80. 5.80 pslint PowerShell static analysis for common programming errors using PSScriptAnalyzer. 3 分钟前
    81. 5.81 pylint Python static analysis for common programming errors. 3 分钟前
    82. 5.82 pymarkdown Check Markdown files for syntax and formatting issues. 3 分钟前
    83. 5.83 release-names Verifies that the most recent release name has been added to ./github/RELEASE_NAMES.yml 3 分钟前
    84. 5.84 replace-urlopen Use open_url from module_utils instead of urlopen. 3 分钟前
    85. 5.85 required-and-default-attributes Use only one of default or required with FieldAttribute. 3 分钟前
    86. 5.86 runtime-metadata Validates the schema for: ansible-core's lib/ansible/config/ansible_builtin_runtime.yml collection's meta... 3 分钟前
    87. 5.87 shebang Most executable files should only use one of the following shebangs: #!/bin/sh #!/bin/bash -eu #!/bin/bash ... 3 分钟前
    88. 5.88 shellcheck Static code analysis for shell scripts using the excellent shellcheck tool. 3 分钟前
    89. 5.89 symlinks Symbolic links are only permitted for files that exist to ensure proper tarball generation during a release... 3 分钟前
    90. 5.90 test-constraints Constraints for test requirements should be in test/lib/ansible_test/_data/requirements/constraints.txt. 3 分钟前
    91. 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 分钟前
    92. 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 分钟前
    93. 5.93 use-compat-six Use six from module_utils instead of six. 2 分钟前
    94. 5.94 validate-modules Analyze modules for common issues in code and documentation. Usage cd /path/to/ansible/source source hackin... 2 分钟前
    95. 5.95 yamllint Check YAML files for syntax and formatting issues. 2 分钟前
    96. 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 分钟前
    97. 5.97 httptester Topics Overview httptester is a docker container used to host certain resources required by testing_integr... 2 分钟前
    98. 5.98 Integration tests Topics The Ansible integration Test system. Tests for playbooks, by playbooks. Some tests may require crede... 2 分钟前
    99. 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 分钟前
    100. 5.100 Sanity Tests Topics Sanity tests are made up of scripts and tools used to perform static code analysis. The primary purp... 2 分钟前
    101. 5.101 Unit Tests Unit tests are small isolated tests that target a specific library or module. Unit tests in Ansible are cur... 2 分钟前
    102. 5.102 Unit Testing Ansible Modules Topics Introduction This document explains why, how and when you should use unit tests for Ansible modules.... 2 分钟前
  8. 第 6 章 Galaxy 2 页
    1. 6.1 Galaxy Developer Guide You can host collections and roles on Galaxy to share with the Ansible community. Galaxy content is formatt... 2 分钟前
    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 分钟前
  9. 第 7 章 Getting Started 6 页
    1. 7.1 Ansible concepts These concepts are common to all uses of Ansible. You should understand them before using Ansible or readin... 2 分钟前
    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 分钟前
    3. 7.3 Building an inventory Inventories organize managed nodes in centralized files that provide Ansible with system information and ne... 2 分钟前
    4. 7.4 Creating a playbook Playbooks are automation blueprints, in YAML format, that Ansible uses to deploy and configure managed nod... 2 分钟前
    5. 7.5 Getting started with Ansible Ansible automates the management of remote systems and controls their desired state. As shown in the preced... 2 分钟前
    6. 7.6 Introduction to Ansible Ansible provides open-source automation that reduces complexity and runs everywhere. Using Ansible lets you... 2 分钟前
  10. 第 8 章 Getting Started Ee 6 页
    1. 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 分钟前
    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 分钟前
    3. 8.3 Introduction to Execution Environments Ansible Execution Environments aim to resolve complexity issues and provide all the benefits you can get fr... 2 分钟前
    4. 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 分钟前
    5. 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 分钟前
    6. 8.6 Setting up your environment Complete the following steps to set up a local environment for your first Execution Environment: Ensure the... 2 分钟前
  11. 第 9 章 Installation Guide 4 页
    1. 9.1 Installation Guide Welcome to the Ansible Installation Guide! intro_installation installation_distros intro_configuration 1 分钟前
    2. 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 分钟前
    3. 9.3 Configuring Ansible Topics This topic describes how to control Ansible settings. Configuration file Certain settings in Ansible... 1 分钟前
    4. 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 分钟前
  12. 第 10 章 Inventory Guide 6 页
    1. 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 分钟前
    2. 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 分钟前
    3. 10.3 Building Ansible inventories [!NOTE] Making Open Source More Inclusive Red Hat is committed to replacing problematic language in our cod... 1 分钟前
    4. 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 分钟前
    5. 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 分钟前
    6. 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 分钟前
  13. 第 11 章 Module Plugin Guide 5 页
    1. 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 分钟前
    2. 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 分钟前
    3. 11.3 Modules and plugins index You can find an index of modules and plugins at all_modules_and_plugins. 1 分钟前
    4. 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 分钟前
    5. 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 分钟前
  14. 第 12 章 Network 47 页
    1. 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 分钟前
    2. 12.2 Developing network resource modules Understanding network and security resource modules Network and security devices separate configuration int... 1 分钟前
    3. 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 分钟前
    4. 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 分钟前
    5. 12.5 Basic Concepts These concepts are common to all uses of Ansible, including network automation. You need to understand them... 1 分钟前
    6. 12.6 Build Your Inventory Running a playbook without an inventory requires several command-line flags. Also, running a playbook again... 1 分钟前
    7. 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 分钟前
    8. 12.8 Network Getting Started Ansible collections support a wide range of vendors, device types, and actions, so you can manage your enti... 1 分钟前
    9. 12.9 Beyond the basics This page introduces some concepts that help you manage your Ansible workflow with directory structure and ... 1 分钟前
    10. 12.10 Working with network connection options Network modules can support multiple connection protocols, such as ansible.netcommon.network_cli, ansible... 1 分钟前
    11. 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.12 Resources and next steps Community Visit the Ansible communication guide<communication> for information on how to join the communit... 1 分钟前
    13. 12.13 Use Ansible network roles Roles are sets of Ansible defaults, files, tasks, templates, variables, and other Ansible components that w... 1 分钟前
    14. 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 分钟前
    15. 12.15 Ansible Network FAQ Topics How can I improve performance for network playbooks? Consider strategy: free if you are running on ... 1 分钟前
    16. 12.16 Network Advanced Topics Once you have mastered the basics of network automation with Ansible, as presented in network_getting_star... 44 秒前
    17. 12.17 Ansible Network Examples This document describes some examples of using Ansible to manage your network infrastructure. Prerequisites... 42 秒前
    18. 12.18 Network Debug and Troubleshooting Guide This section discusses how to debug and troubleshoot network modules in Ansible. How to troubleshoot Ansibl... 39 秒前
    19. 12.19 Network Resource Modules Ansible network resource modules simplify and standardize how you manage different network devices. Network... 38 秒前
    20. 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 秒前
    21. 12.21 CloudEngine OS Platform Options CloudEngine CE OS is part of the community.network collection and supports multiple connections. This page ... 35 秒前
    22. 12.22 CNOS Platform Options CNOS is part of the community.network collection and supports Enable Mode (Privilege Escalation). This page... 34 秒前
    23. 12.23 Dell OS10 Platform Options The dellemc.os10 collection supports Enable Mode (Privilege Escalation). This page offers details on how to... 33 秒前
    24. 12.24 Dell OS6 Platform Options The dellemc.os6 collection supports Enable Mode (Privilege Escalation). This page offers details on how to ... 31 秒前
    25. 12.25 Dell OS9 Platform Options The dellemc.os9 collection supports Enable Mode (Privilege Escalation). This page offers details on how to ... 30 秒前
    26. 12.26 ENOS Platform Options ENOS is part of the community.network collection and supports Enable Mode (Privilege Escalation). This page... 29 秒前
    27. 12.27 EOS Platform Options The Arista EOS collection supports multiple connections. This page offers details on how each connection wo... 28 秒前
    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 秒前
    29. 12.29 EXOS Platform Options Extreme EXOS is part of the community.network collection and supports multiple connections. This page offer... 25 秒前
    30. 12.30 FRR Platform Options The FRR collection supports the ansible.netcommon.network_cli connection. This section provides details on... 24 秒前
    31. 12.31 ICX Platform Options ICX is part of the community.network collection supports Enable Mode (Privilege Escalation). This page offe... 22 秒前
    32. 12.32 Platform Options Some Ansible Network platforms support multiple connection types, privilege escalation ( enable mode), or o... 21 秒前
    33. 12.33 IOS Platform Options The Cisco IOS collection supports Enable Mode (Privilege Escalation). This page offers details on how to us... 19 秒前
    34. 12.34 IOS-XR Platform Options The Cisco IOS-XR collection supports multiple connections. This page offers details on how each connection ... 18 秒前
    35. 12.35 IronWare Platform Options IronWare is part of the community.network collection and supports Enable Mode (Privilege Escalation). This ... 17 秒前
    36. 12.36 Junos OS Platform Options The Juniper Junos OS supports multiple connections. This page offers details on how each connection works i... 15 秒前
    37. 12.37 Meraki Platform Options The cisco.meraki collection only supports the local connection type at this time. Connections available ..... 14 秒前
    38. 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 秒前
    39. 12.39 Pluribus NETVISOR Platform Options Pluribus NETVISOR Ansible is part of the community.network collection and only supports CLI connections tod... 11 秒前
    40. 12.40 NOS Platform Options Extreme NOS is part of the community.network collection and only supports CLI connections today. httpapi m... 10 秒前
    41. 12.41 NXOS Platform Options The Cisco NXOS supports multiple connections. This page offers details on how each connection works in Ansi... 8 秒前
    42. 12.42 RouterOS Platform Options RouterOS is part of the community.network collection and only supports CLI connections and direct API acces... 7 秒前
    43. 12.43 SLX-OS Platform Options Extreme SLX-OS is part of the community.network collection and only supports CLI connections today. httpap... 6 秒前
    44. 12.44 VOSS Platform Options Extreme VOSS is part of the community.network collection and only supports CLI connections today. This page... 4 秒前
    45. 12.45 VyOS Platform Options The VyOS collection supports the ansible.netcommon.network_cli connection type. This page offers details o... 3 秒前
    46. 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 秒前
    47. 12.47 Validate data against set criteria with Ansible The validate <ansible.utils.validate#module> module validates data against your predefined criteria using ... 1 秒前
  15. 240 core_index Ansible Core Documentation Ansible Core, or ansible-core is the main building block and architecture for A... 5 分钟前