Hello,
in the past i used this inventory entries.
inventory.ini format:[DATABASE1]
hostname1.com[DATABASE2]
hostname47.dedynamic inventory json format:{
"DATABASE1" : { "hosts" : [ "
hostname1.com ] },
"DATABASE2" : { "hosts" : [ "
hostname47.de ] }
}
This setup wors fine.
For internal reasons i have to cahneg the format.
Here is a example that works for me as i expect in inventory.ini format:
[DATABASE1]
DATABASE1_hostname1.com ansible_host=
hostname1.com[DATABASE2]
DATABASE_2_hostname47.de ansible_host=
hostname47.deCan please someone give me the eqivalent json format?
Many thanks
Frank