How to exclude a module in ansible 2.5?

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 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. 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

See 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