<p>The command <code>ansible-doc</code></p>
<blockquote>
<p>Displays information on modules installed in Ansible libraries. It displays a terse listing of plugins and their short descriptions, provides a printout of their DOCUMENTATION strings ...</p>
</blockquote>
<p>from the module source.</p>
<p>Therefore for <a href="https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html" rel="nofollow noreferrer">filters to manipulate data</a> like <a href="https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#managing-list-variables" rel="nofollow noreferrer"><code>flatten</code></a> or <a href="https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters_ipaddr.html" rel="nofollow noreferrer"><code>ipaddr</code></a> there is no such command.</p>
<p><strong>Further Information</strong></p>
<ul>
<li><a href="https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_documenting.html#documentation-block" rel="nofollow noreferrer">DOCUMENTATION block</a></li>
</ul>

CC BY-SA 4.0
2022-03-24T15:23:26.163Z
2022-03-25T07:30:51.147Z
2022-03-25T07:30:51.147Z
U880D
<p>I would like to list &amp; read documentation from the ansible-doc command for example about <code>ipaddr</code> or <code>flatten</code>.</p>
<p>Is it possible? Thanks in advance!</p>

<ansible>
ansible-doc command for filters & plugins
Costales
# ansible-doc command for filters & plugins

(Asked by: username_0 on 2022-03-24)

I would like to list & read documentation from the ansible-doc command for example about `ipaddr` or `flatten`.

Is it possible? Thanks in advance!

**Tags:** ansible


---

## 1 answers

### Answer by username_1 on 2022-03-24. Score: 1 | Accepted answer

The command `ansible-doc`

> Displays information on modules installed in Ansible libraries. It displays a terse listing of plugins and their short descriptions, provides a printout of their DOCUMENTATION strings ...

from the module source.

Therefore for [filters to manipulate data](https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html) like [`flatten`](https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#managing-list-variables) or [`ipaddr`](https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters_ipaddr.html) there is no such command.

**Further Information**

* [DOCUMENTATION block](https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_documenting.html#documentation-block)


---

