dis you create an inventory and added a source that that gets the hosts? then 
on your job template there's an inventory option to pick.

Jonathan Lozada De La Matta on mobile

________________________________
From: [email protected] on behalf of Flavio Gobber 
<[email protected]>
Sent: Thursday, May 23, 2019 8:19 AM
To: Ansible Project
Subject: Re: [ansible-project] How configure Tower Template to use Dynamic 
Inventory Script.

well, I have added my script to "Inventory Script", but now, how can I use this 
script/Inventory in may "Template" for schedule a Playbook ?.
Thank you

Flavio Gobber

On Thursday, May 23, 2019 at 2:05:38 PM UTC+2, Jonathan Lozada De La Matta 
wrote:
you can create a custom inventory script 
https://docs.ansible.com/ansible-tower/latest/html/administration/custom_inventory_script.html

On Thu, May 23, 2019 at 6:52 AM Flavio Gobber <[email protected]> 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].
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/ae5cff1b-acfb-4ecc-9d82-eb830aa9d3e6%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/ae5cff1b-acfb-4ecc-9d82-eb830aa9d3e6%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


--

Jonathan Cha'gara Lozada De La Matta

He / Him / His

Automation Practice

Senior Automation Consultant & Automation CoP Manager

Red Hat <https://www.redhat.com>

@redhatjobs <https://twitter.com/redhatjobs>   redhatjobs 
<https://www.facebook.com/redhatjobs> @redhatjobs 
<https://instagram.com/redhatjobs>
[https://lh6.googleusercontent.com/proxy/UGgggm-Qv8HCBmBAJs-lZGZTAdEOMeTa37ZBUHPlLVW7hdVFRfDe5iqS_mUUBqSnSpqERkPSmvIRIm8c1ejv2CmmYdK8KFyFN4wz7tjOFNxIXaXF7PMXfsyjCnGmvGGqgefLmj3HiCdLv5uqZZSfbZkHB-JzE8rgM7qsH-y1_F3dKj-MgVMpqnE=w5000-h5000]<https://www.redhat.com>





--
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/a81b26ef-d31c-43a9-a4e7-0ac57ff30611%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/a81b26ef-d31c-43a9-a4e7-0ac57ff30611%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/DM5PR0801MB365623A4AE0C6DF358F3F91BA6010%40DM5PR0801MB3656.namprd08.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to