ansible-doc

Display information on modules installed in Ansible libraries.

TLDR

List available action plugins (modules)

$ ansible-doc --list
copy

List available plugins of a specific type

$ ansible-doc --type [plugin_type] --list
copy

Show information about a specific action plugin (module)

$ ansible-doc [plugin_name]
copy

Show information about a plugin with a specific type

$ ansible-doc --type [plugin_type] [plugin_name]
copy

Show the playbook snippet for action plugin (modules)

$ ansible-doc --snippet [plugin_name]
copy

Show information about an action plugin (module) as JSON

$ ansible-doc --json [plugin_name]
copy

Copied to clipboard
free 100$ digital ocean credit