Re: [ansible-project] How to pass params from Ansible to Jenkins Job triggered by Ansible Playbook?

2020-05-07 Thread Mimo
can you explain in more details please? it is not clear to me

On Thu, May 7, 2020 at 10:02 PM David Foley  wrote:

> Hi,
>
> In order to push jobs from Ansible or even Python to Jenkins you need to
> make sure Remote Trigger is enable and an API Token has been created for
> your Jenkins User. You can Then just use a Post request using the Ansible
> URI module
>
> --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/81063e55-65f0-487d-9953-03a2cd19b00c%40googlegroups.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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAJGmwppiKowc1aOfo9-mZZKE4idrDeb3W36kjkobh_1zK8gbig%40mail.gmail.com.


[ansible-project] How to pass params from Ansible to Jenkins Job triggered by Ansible Playbook?

2020-05-07 Thread David Foley
Hi,

In order to push jobs from Ansible or even Python to Jenkins you need to make 
sure Remote Trigger is enable and an API Token has been created for your 
Jenkins User. You can Then just use a Post request using the Ansible URI module 

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/81063e55-65f0-487d-9953-03a2cd19b00c%40googlegroups.com.


[ansible-project] How to pass params from Ansible to Jenkins Job triggered by Ansible Playbook?

2020-05-07 Thread Mimo


Hello everyone,

I checked Ansible documentation, I did not find answers there or anywhere 
of how I can pass params to the Jenkins Job,so these params should be as an 
input params to this Jenkins Job and they will be used in that Job, So is 
there a way to make this happen?

Thank you already for your answers

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/4171a119-1fd4-4401-aa61-40615e32b550%40googlegroups.com.