FYI

I finally figured out a way to handle the structure.

A big note, for me, when I created a JSON item, if I ran it through a 
'json.dumps' command, to validate, it would actually create an object that 
Tower did not like.  However, if I just created a JSON string that was fine.

Thanks!


On Monday, August 19, 2019 at 2:37:00 PM UTC-5, Kai Stian Olstad wrote:
>
> 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/55e22156-8ed4-469a-84a0-48ed0db58f70%40googlegroups.com.

Reply via email to