Testing if a list contains a value
Ansible includes acontainstest which operates similarly, but in reverse of the Jinja2 providedintest.
Thecontainstest is designed to work with theselect,reject,selectattr, andrejectattrfilters