Hi Ivo,

For future tower queries can you please post it at 'support.ansible.com' as
this list is for core ansible. following are variables exposed by tower to
an ansible playbook.

{"tower_job_template_name", "tower_job_id", "tower_user_id",
"tower_job_template_id", "tower_user_name", "tower_job_launch_type"}


- Benno



On Fri, May 29, 2015 at 1:34 PM, Ivo Hechmann <[email protected]>
wrote:

> Hello James;
>
> Yes, in tower, each job has its ID in the joblist. If a job results in
> creating a Jira-Issue, it would be nice to link in the Jira Issue to the
> ansible Job. Is there a way to realize this?
>
> Thank you very much
>
> Ivo
>
> On Thursday, May 28, 2015 at 8:46:22 PM UTC+2, James Cammarata wrote:
>>
>> Hi Ivo, is this a Tower question? In ansible core, the "job id" only
>> exists for async tasks.
>>
>> Thanks!
>>
>> James Cammarata
>> Director, Ansible Core Engineering
>> github: jimi-c
>>
>> On Thu, May 28, 2015 at 7:54 AM, Ivo Hechmann <[email protected]>
>> wrote:
>>
>>> Hello;
>>>
>>> How can I retrieve the current job id? Want to create a Jira Issue using
>>> the jira module and add the ansible job ID as description...
>>>
>>> Thank you very much
>>>
>>> Ivo
>>>
>>> --
>>> 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/730658e3-44aa-42d7-9963-5aa3353f210d%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/730658e3-44aa-42d7-9963-5aa3353f210d%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/4d0c67e5-fd2a-4af8-97ce-f3404551fa89%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/4d0c67e5-fd2a-4af8-97ce-f3404551fa89%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/CAFUV_d4CHTTMcK16DsCS3MM5DP2UOg5o7Y5LV6sdPVwVgz3NiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to