Defining vars in a file and looping over them

Hi all,

I’m trying to work with vars in a vars file inside a role, and I’m unable to make it work. I’m working from http://docs.ansible.com/ansible/playbooks_loops.html#standard-loops. Any pointers on what I’m doing wrong would be much appreciated.

I’m using 2.1.0 from Git on Debian.

If I have the following task in my role, it works as expected:

`

Ah - that was simple… groups appears to be a reserved name. Changing to unixgroups works a treat.
Sorry for the noise…