I guess I could express it as a nested dict in the first place?
ec2_specs:
- { region: "us-east-1", ami: "ami-b66ed3de", count: 1, type: "t2.micro",
containers: [{ name: "NGINX_A", hostport: "443" }, { name: "NGINX_B",
hostport: "444" }] }
- etc
I suspect though that if I need to express a large number of these, it can
get error-prone - so a set of M properties and a set of N sub-properties
would still be a more compact and less error-prone representation of this
matrix.
--
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/923663ef-bf02-4646-9957-50da2b67d150%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.