[DEPRECATION WARNING]: Skipping task due to undefined Error

Hi,

running the following play generate this not so useful DEPRECATION WARNING

`

I forgot to add that if using the bare variable with with_items, it doesn’t generate the previous warning.

when statements run for every iteration of the with_ loop, not before the loop is evaluated.