Ansible 2.5 adds the ability for a site administrator to blacklist modules that they do not want to be available to Ansible. This is configured via a yaml configuration file (by default, /etc/ansible/plugin_filters.yml
). Use plugin_filters_cfg
configuration in defaults
section to change this configuration file path. The format of the file is:
--- filter_version: '1.0' module_blacklist: # Deprecated - docker # We only allow pip, not easy_install - easy_install
The file contains two fields:
"1.0"
Note
The stat
module is required for Ansible to run. So, please make sure you do not add this module in a blacklist modules list.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.9/user_guide/plugin_filtering_config.html