how can I pass jenkins parameters as variables to var files

I am trying to pass jenkins parameters as variables to run the playbook for adhoc requests
how can I do that any suggestions please…

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.

Thank you, I will try that option and update if that works…