On 29. mars 2017 16:14, Z-obaze wrote:
Thanks.
And is there a way to not use include and to keep the inner loop into the
same playbook than the outer loop?
Cause I don't like the way it splits the playbook into two yaml files.
No, that is the only way to do it in Ansible.
If you are only using the data in a template then you can do loop in a
loop in Jinja2.
--
Kai Stian Olstad
--
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/2e65ec52-d114-d22e-0135-b4e2ebba1886%40olstad.com.
For more options, visit https://groups.google.com/d/optout.