You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
The text was updated successfully, but these errors were encountered:
Jenkins and plugins versions report
Environment
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
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
The text was updated successfully, but these errors were encountered: