Hello,
in the past i used this inventory entries.
*inventory.ini format:*
[DATABASE1]
hostname1.com
[DATABASE2]
hostname47.de
*dynamic 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.de
Can please someone give me the eqivalent json format?
Many thanks
Frank
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/291e84fc-e3ca-43a6-a453-bb4fc0a72aef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.