how can I pass jenkins parameters as variables to var files

84 views
Skip to first unread message

Narmada Karthika

unread,
May 18, 2023, 2:04:09 PM5/18/23
to Ansible Project
I am trying to pass jenkins parameters as variables to run the playbook for adhoc requests
how can I do that any suggestions please...

Dick Visser

unread,
May 18, 2023, 2:27:07 PM5/18/23
to ansible...@googlegroups.com
Ansible allows to pass in variables from the command line using the -e
or --extra-vars option.
I don't know about Jenkins, hence the above may be useful, or not.

On Thu, 18 May 2023 at 20:04, Narmada Karthika <chitt...@gmail.com> wrote:
>
> I am trying to pass jenkins parameters as variables to run the playbook for adhoc requests
> how can I do that any suggestions please...
>
> --
> 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-proje...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d1609806-6dc6-472d-b3e6-bb5efa36a4d8n%40googlegroups.com.

Narmada Karthika

unread,
May 18, 2023, 2:29:25 PM5/18/23
to ansible...@googlegroups.com
Thank you, I will  try that option and update if that works...



--
 Thanks,
Narmada Karthika Chitturi
 
Reply all
Reply to author
Forward
0 new messages