Thanks for your example, I'm just about understanding how it works :-)  I 
did need to add a .yml extension to the external_vars/groups_users_* files 
but that was obvious from how the playbook referenced those file. Also the 
role needs "group:" and not "groups:" (the error message could have been a 
bit clearer...).

However, when I try this, the gathering facts works fine, then:

TASK: [groups_users | Add groups] 
********************************************* 
fatal: [host1] => with_items expects a list or a set
fatal: [host2] => with_items expects a list or a set
fatal: [host3] => with_items expects a list or a set

FATAL: all hosts have already failed -- aborting

This is the sort of thing that's probably trivial to fix with some 
experience but I have no clue how to proceed now :-(

FWIW I'm running:
ansible 1.8 (devel 44afa7facc) last updated 2014/10/27 14:31:42 (GMT +200)

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4b1e561a-e621-42f0-9a9f-8ba4506b31b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to