Hi Kai,

On 01-09-16 22:46, Kai Stian Olstad wrote:

Are you trying to make all the users on all the sites?
If so, check out with_nested
https://docs.ansible.com/ansible/playbooks_loops.html#nested-loops

Thank you for your suggestion. That was the solution :) In #ansible agaffney mentioned that with_nested couldn't handle looping over a dict. So I changed the dict to a list and now it's working.

Thanks again,
Patrick

--
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/c04c22f9-0a5f-ef30-604e-a67dd927374c%40laimbock.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to