when: runs INSIDE the with_items loops, so it cannot prevent definition errors, use |default([]) as an empty list will skip the loop.
http://docs.ansible.com/ansible/playbooks_conditionals.html#loops-and-conditionals ---------- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
