On 9/15/15 12:57 PM, Patrick McMahon wrote:
Is something like this possible when defining a dictionary in defaults/main.yml:

|
agent_instances:
"{{ [ansible_fqdn] }}":
    port:5912
"{{ [ansible_fqdn]-2 }}":
    port:5913

|

I want to then call |agent_instances.keys() | join (",") |in a jinja2 template. |
|

Similar request here: https://github.com/ansible/ansible/pull/9496

--
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/55F8706B.2050200%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to