Ansible 模块文档的查询

一、 获取模块文档所支持的列表:
(ansible) [root@Main ansible]# ansible-doc -l
...

二、 获取具体的模块文档:
(ansible) [root@Master ansible]# ansible-doc -s fetch
- name: Fetch files from remote nodes
  fetch:
      dest:                  # (required) A directory to save the file into. For example, if the `dest' directory is `/backup'
                               a `src' file named `/etc/profile' on host `host.example.com',
...

三、 直接去: https://docs.ansible.com/ 查找
This entry was posted in Ansible, AutomaticOPS and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *