Well, here I am again, with my bi-monthly query
pertaining to Ansible Inventory defintions.
Wanting the actual (vertical) syntax for each of the following:
--- canada: children: prod: hosts: srv[1:3]: dev: hosts: srv4
[canada] [canada:children] prod dev [prod] server[1:3] [dev] server4
By the way, which one is INI, and which one is YAML?
yaml:
--- canada: children: prod: hosts: srv[1:3]: dev: hosts: srv4
ini:
[canada] [canada:children] prod dev [prod] server[1:3] [dev] server4
@Trevor Out of curiosity, how do you keep having these without correct vertical formatting? It sounds from your question like you get them that way, not that you're having problems entering them formatted correctly in the forum software?
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.