Regression in variables when including playbooks

Hi,

I think I found a regression in Ansible 1.2 develop branch. Afaik the following worked in the 1.1 develop branch around 1 week ago.

# _test_site.yml

Ok, that’s worth chasing, please make sure there is a github ticket filed.

However, I’ve never been a fan of task includes + with_items – namely because it can’t traverse variables of inventory scope – and that frequent confusion is why task includes + with_items is undocumented.

It is much better to put the “with_items” loop inside your tasks themselves, because then it has access to inventory scoped variables – suppose a list of users to set up is unique per group, etc.

Done. https://github.com/ansible/ansible/issues/2612

Greetings,
gw