我找不到有关要运行的任何命令的任何信息,以便显示/确认我的控制节点上安装了哪些附加 Ansible 模块或内置 Ansible 模块?
\n关于内置,我知道有一些网页列出了这些东西,但它们肯定是版本相关的,这意味着我需要首先验证我的本地 Ansible 版本,然后找到一个列出所有内容的网页该特定版本 \xe2\x80\x94 的内置插件,即效率非常低。
\n$ ansible-doc --list | head
add_host Add a host (and alternatively a group) to the ansible-playbook in-memory ...
amazon.aws.aws_az_info Gather information about availability zon...
amazon.aws.aws_caller_info Get information about the user and account being used to make ...
amazon.aws.aws_s3 manage obje...
amazon.aws.cloudformation Create or delete an AWS CloudFormat...
amazon.aws.cloudformation_info Obtain information about an AWS CloudFormat...
amazon.aws.ec2 create, terminate, start or stop an instan...
amazon.aws.ec2_ami Create or destroy an image (AM...
amazon.aws.ec2_ami_info Gather information about...
amazon.aws.ec2_eni Create and optionally attach an Elastic Network Interface (ENI) to an...
Run Code Online (Sandbox Code Playgroud)
这也可以用于列出其他类型的可用插件,例如显示您将运行的所有查找插件ansible-doc -t lookup --list。
| 归档时间: |
|
| 查看次数: |
13248 次 |
| 最近记录: |