At the level of a single item the `results` array for all items
is not yet available. The whole array will only be available
after the task has finished looping over all items. So you will
have to check for `… not in rbacresult.stdout` in the above case.
This minimal example should illustrate the effect:
```
- hosts: localhost
tasks:
- name: Dummy
shell:
cmd: echo {{ item }}
with_items:
- "positive"
- "negative"
register: result
failed_when: '"positive" not in result.stdout'
ignore_errors: yes
- name: Debug
debug:
var: result
```
-Andi