Show information about an action plugin (module) as JSON

ansible-doc

  • Display information on modules installed in Ansible libraries.
    Display a terse listing of plugins and their short descriptions.
    More information: <https://docs.ansible.com/ansible/latest/cli/ansible-doc.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

ansible-doc --json {{plugin_name}}

click the source code to copy install ansible-doc on any operating system with command-not-found.com