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.
Thanks! On Monday, August 19, 2019 at 2:17:14 PM UTC-5, Kai Stian Olstad wrote: > > On 19.08.2019 20:49, A Drew wrote: > > I don't mean to be dumb, but I read the document page you indicated, and > > the example formats I have provide appear to me to fit into what is says > > should work, yet they are not. > > > > This is why I posted the question. > > Most people posting on the list don't read documentation, so I though this > was the case now also. sorry about that. > > Since you have a ini file, put that in a file called inv.yml and then run > ansible-inventory -i inv.yml --list > > Then you'll getting the output Ansible expect from a inventory script. > > > -- > 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/68e4c489-f61b-4915-afe2-c784081bd00a%40googlegroups.com.
