Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins ansible plugin omitting extra vars with warn msg "check value is a supported type" #197

Open
AizatSara opened this issue Mar 8, 2024 · 0 comments
Labels

Comments

@AizatSara
Copy link

Jenkins and plugins versions report

Environment
Paste the output here
  • Jenkins: 2.426.3

  • OS: Linux - 3.10.0-1160.59.1.el7.x86_64

  • Java: 17.0.10 - Oracle Corporation (Java HotSpot(TM) 64-Bit Server VM)

  • ansible:307.va_1f3ef06575a_

What Operating System are you using (both controller, and any agents involved in the problem)?

centOS7

Reproduction steps

steps { ansiblePlaybook( extraVars:[ var1: 'test', var2: ['test1', 'test2'] ]) }

Expected Results

Should override the variables in inventory at run time.
[Pipeline] ansiblePlaybook [tag1] $ /usr/bin/ansible-playbook myPlaybook.yml -i inventory -l host1 -t tag1 -b --become-user root -e ******** -e ********

Actual Results

jenkins_ansible_bug

Anything else?

Tried degrading jenkins ansible plugin versions, earlier worked with the latest version I'm currently using.
The playbook works just fine when extra vars are passed through command line.

Are you interested in contributing a fix?

yes

@AizatSara AizatSara added the bug label Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant