after you add the inventory script, you need to create an inventory. Once you create an inventory, you need to create a source. Please look at the documentation.
Jonathan Lozada De La Matta on mobile ________________________________ From: [email protected] on behalf of Flavio Gobber <[email protected]> Sent: Friday, May 24, 2019 4:35 AM To: Ansible Project Subject: [ansible-project] Re: How configure Tower Template to use Dynamic Inventory Script. Hello Jonathan, I would show you with two screenshot what I have done and what I see on template page. [InventoryScreenCapture.PNG] [SelectInventoryScreenCapture.PNG] The Inventory selection on Template configuration doesn't show me to choose the script previus defined. With the script showed above and ansible CLI the inventory works well. Thank you Beest regards Flavio Gobber On Thursday, May 23, 2019 at 12:52:16 PM UTC+2, Flavio Gobber wrote: Hello Ansible Team, I have written a Python script "inv-sched.py" which generates a JSON format inventory. This script is working using the command line ansible, with ansible command and ansible-playbook. Now I want to use this script through Tower manager, how can I configure a Template to use it ?. Thank you for help. Best regards. Flavio Gobber -- 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]<mailto:[email protected]>. To post to this group, send email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4defc268-97db-4694-884c-5c5b206b3ba2%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/4defc268-97db-4694-884c-5c5b206b3ba2%40googlegroups.com?utm_medium=email&utm_source=footer>. For more options, visit https://groups.google.com/d/optout. -- 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/DM5PR0801MB3656FE37C86E2E8EAF6D5AF7A6020%40DM5PR0801MB3656.namprd08.prod.outlook.com. For more options, visit https://groups.google.com/d/optout.
