# How to exclude a module in ansible 2.5?

**URL:** <https://forum.ansible.com/t/how-to-exclude-a-module-in-ansible-2-5/27106>\
**Category:** Ansible Project\
**Created:** [March 24, 2018, 7:19pm UTC](https://forum.ansible.com/t/how-to-exclude-a-module-in-ansible-2-5/27106 "2018-03-24T19:19:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tchia04](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@Tchia04](https://forum.ansible.com/u/Tchia04)\
**Post date:** [March 24, 2018, 7:19pm UTC](https://forum.ansible.com/t/how-to-exclude-a-module-in-ansible-2-5/27106/1 "2018-03-24T19:19:58Z")

</div>

In the ansible 2.5 changelog, it mentioned the following

- Added a configuration file that a site administrator can use to specify modules to exclude from being used.

However when I search for the word “exclude” on [Ansible Configuration Settings — Ansible Community Documentation](https://docs.ansible.com/ansible/devel/reference_appendices/config.html), I didn’t find anything.

Also I tried to click on “Edit on Github” button on the top of the page hoping to see the history of the changes and I got a 404 error.

The ansible.cfg file under the example folder (i.e. [History for examples/ansible.cfg - ansible/ansible · GitHub](https://github.com/ansible/ansible/commits/340a7be7c382d441475b64adbfd65e605786cd4f/examples/ansible.cfg)) doesn’t have this info as well.

Where can I find an more updated ansible.cfg with all the possible settings for ansible 2.5?

Tony

##

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [March 24, 2018, 8:02pm UTC](https://forum.ansible.com/t/how-to-exclude-a-module-in-ansible-2-5/27106/2 "2018-03-24T20:02:42Z")

</div>

See [https://docs.ansible.com/ansible/devel/reference\_appendices/config.html#plugin-filters-cfg](https://docs.ansible.com/ansible/devel/reference_appendices/config.html#plugin-filters-cfg)

As well as the example at: [https://github.com/ansible/ansible/blob/340a7be7c382d441475b64adbfd65e605786cd4f/examples/plugin\_filters.yml](https://github.com/ansible/ansible/blob/340a7be7c382d441475b64adbfd65e605786cd4f/examples/plugin_filters.yml)
