What does the YAML format look like for this inventory definition:
us: children: prod: hosts: srv[1:3]: validation: hosts: srv4: dev: hosts: srv5: ca: hosts: srv[6:7]
I'm still developing muscle with this!!!
Wasim_Raja, thanks for your response! The format looks promising!
Let's see if there might be others who will concur, or possibly disagree.
Thanks Wasim_Raja!!!
@Trevor we will start with all that is the parent / root group and then we have children us and then 4 sub child groups prod, validation , dev, ca :
all: children: us: children: prod: hosts: srv[1:3]: validation: hosts: srv4: dev: hosts: srv5: ca: hosts: srv[6:7]:
Chetan,
So glad you provided this YAML format for this inventory file!
I've looked at a few inventory files over the years, but I can't
say that I ever recall seeing one with the keyword "children"
used multiple times.
The more I ask, the more I learn!!!
Chetan,
Thanks to you, I can check the box, that I've learned at least one something
today!!!!
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.