I have dynamic inventory working with a hosts file that looks like this:
[tag_Name_Sonarqube]
[sonarqube:children]
tag_Name_Sonarqube
This is a static group of dynamic groups and is working for me. documentation on working with dynamic inventory doesn't include a YAML example.
I would prefer to use YAML because I find the format neater, but I can't work out from the example in the documentation on inventory how this would look.
Does anybody have any examples?
For what it's worth... the equivalent ansible yaml inventory of your current ini is:
I have absolutely no clue if this can be used in your case to create the static group of dynamic groups.