ansible-doc -l
列出当前所有可用模块,一句话说明模块是干什么用的
-l list 列表
命令执行完,进入less模式,可进行搜索
[root@localhost .ssh]# ansible-doc -l
……
apt_key Add or remove an apt key
apt_repository Add and remove APT repositories
apt_rpm apt_rpm package manager
archive Creates a compressed archive of one or more files or trees.
asa_acl Manage access-lists on a Cisco ASA
asa_command Run arbitrary commands on Cisco ASA devices
: