Show documentation on ansible modules
ansible-doc [-M module_path] [-l] [-s] [module...]
ansible-doc displays information on modules installed in Ansible libraries. It displays a terse listing of modules and their short descriptions, provides a printout of their DOCUMENTATION strings, and it can create a short "snippet" which can be pasted into a playbook.
-M directory, --module-path=directory
Add an additional directory to the default path for finding module libraries.
Produce a snippet which can be copied into a playbook for modification, like a kind of task template.
Produce a terse listing of modules and a short description of each.
ansible-doc was originally written by Jan-Piet Mens. See the AUTHORS file for a complete list of contributors.
Copyright © 2012, Jan-Piet Mens
Ansible is released under the terms of the GPLv3 License.