On 19.08.2019 21:20, A Drew wrote:
> Normally, I would.
> 
> However, for this specific case of our, we are reading a database to
> generate the list of servers, so to prevent having to maintain the list of
> servers in 2 places, we are using a script to read the database and
> generate the JSON output.

You wanted to know how the JSON output should be for your ini example.
The method I posted will give you that output.

So when you have the correct output you can recreate that in your script.
I did not mean you should abandon your script and go for ini file.


-- 
Kai Stian Olstad

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f90f51ea-8736-b372-3396-b70cc91c6ba1%40olstad.com.

Reply via email to