The Ansible inventory documentation was not helpful. Ultimately I got it working, albeit with a nuisance warning using https://gist.github.com/cbwest3/cb4e9ac16261595a82f8b4ab54629bac.
-bw On Wednesday, November 1, 2017 at 12:12:02 PM UTC-4, Andrew Latham wrote: > > Looks like some doc-strings around > https://github.com/ansible/ansible/blob/stable-2.4/lib/ansible/inventory/manager.py#L119 > > would be helpful. The code is there so you can read about what is needed. > #yeahopensource > > > On Wed, Nov 1, 2017 at 10:39 AM, Brantley West <[email protected] > <javascript:>> wrote: > >> Hello, >> >> It seems the developing_api.rst page ( >> https://github.com/ansible/ansible/blob/v2.4.1.0-1/docs/docsite/rst/dev_guide/developing_api.rst) >> >> is outdated due to the 2.4 inventory changes. Are there any tips for doing >> simple inventory manipulation via Python with Ansible 2.4? Thanks! >> >> -bw >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/c3d50884-1b63-40ef-b4ed-a65f2c8fa191%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/c3d50884-1b63-40ef-b4ed-a65f2c8fa191%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > - Andrew "lathama" Latham - > -- 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/b46d013f-8e55-4458-9595-d93d788597c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
