Hey I'm wondering how I should point to variables nested like shown below.
if it helps, the playbook I'm writing doesn't need to work with multiple
hosts at once
The variable cannot be re-structured since it's being used by another
ansible-module I do not maintain
---
vm_specs:
"{{ hostname }}":
dns1: 1.1.1.1
dns2: 2.2.2.2
I've tried a bunch of things (that I assume are all jibberish) for this but
I can't seem to wrap my head around the mixture of yaml/python/jinja2
Thanks in advance
//Philip
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/ee823659-55a3-4efa-b7da-41503073d6cfn%40googlegroups.com.