一、 获取模块文档所支持的列表:
(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/ 查找