I am trying to do the following where I index groups by a variable instead
of hardcoding it. Is that possible somehow?
{% for host in groups['{{VAR}}'] %}
STUFF
{% endfor %}
Thanks in advance,
Edgardo
--
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/1d72aea3-f95f-45dc-99c5-f60f07fb51a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.