# KeyError: 'module\_blacklist'

**URL:** <https://forum.ansible.com/t/keyerror-module-blacklist/36344>\
**Category:** Ansible Developer\
**Created:** [February 18, 2022, 11:07am UTC](https://forum.ansible.com/t/keyerror-module-blacklist/36344 "2022-02-18T11:07:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![igor\_haase](https://avatars.discourse-cdn.com/v4/letter/i/e0b2c6/32.png) [@igor\_haase](https://forum.ansible.com/u/igor_haase)\
**Post date:** [February 18, 2022, 11:07am UTC](https://forum.ansible.com/t/keyerror-module-blacklist/36344/1 "2022-02-18T11:07:49Z")

</div>

Hi there,

I am new in ansible started yesterday. I got the WARNING The plugin filter file, /etc/ansible/plugin\_filters.yml does not exist  
when I ran ansible --list-hosts ubuntu20  
So I created that file like this:

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/ansible/original/1X/1882d9a01da5d8996a862359b0913cc568a39b84.svg) [@system](https://forum.ansible.com/u/system)\
**Post date:** [February 21, 2022, 3:43pm UTC](https://forum.ansible.com/t/keyerror-module-blacklist/36344/2 "2022-02-21T15:43:19Z")

</div>

you have `module_rejectlist`, but it requires `module_blacklist`
