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?