I have the following simple task include file:
There's a nested dictionary inside the item that you're missing. I just
tried your playbook, but made this change
when: item.value.state is defined and item.value.state == 'running'
It worked for me then.
HI Dustin,
You are 100% right. Why I missed the obvious? Time for more coffee
Thanks!
– Zack