Ansible 模块文档的查询

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

二、 获取具体的模块文档:
(ansible) [[email protected] ansible]# ansible-doc -s fetch
- name: Fetch files from remote nodes
      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 `',

三、 直接去: 查找
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 *