Hi, 

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. 

Thanks in Advance!

Paddy

-- 
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/175570bb-47a0-4dc1-b17e-2a1fc176b602%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to