All,
I’ve tryied to use with_subelements, but this function does not keep the key of the main loop.
For example:
In host_vars/testserver.yml:
All,
I’ve tryied to use with_subelements, but this function does not keep the key of the main loop.
For example:
In host_vars/testserver.yml:
I made a pull request for this by the way (with a new module): https://github.com/ansible/ansible/pull/6370
Currently limited to only 2 layers, but extra layers can be added fairly easily in the future.
Regards,
Robert
Understand your desire for this, though see comments on the ticket.