We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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: 2.401.1 OS: Linux - 3.10.0-693.11.6.el7.x86_64 Java: 11.0.3 - Amazon.com Inc. (OpenJDK 64-Bit Server VM) --- ansible:240.vc26740a_625c0
CentOS 7
- name: print foobars debug: var: foobars
ansiblePlaybook( playbook: "playbook.yml", extraVars: [foobars: ["foo","bar"]] )
[Pipeline] ansiblePlaybook [WARN] Omitting extra var foobars: check value is a supported type. [playbook] $ /app/ansible44/venv/bin/ansible-playbook jenkins/ansible/playbook.yml -i jenkins/ansible/localhost.ini -e ******** PLAY [playbook] ********************************************** TASK [print foobars] *** ok: [localhost] => { "foobars": [ "foo", "bar" ] }
[Pipeline] ansiblePlaybook [playbook] $ /app/ansible44/venv/bin/ansible-playbook jenkins/ansible/playbook.yml -i jenkins/ansible/localhost.ini PLAY [playbook] ********************************************** TASK [print foobars] *** ok: [localhost] => { "foobars": "VARIABLE IS NOT DEFINED!" }
Apparently #88 broke list-related logic, because with LTS 2.387 this was working.
Proposal: pass extra variables as json to Ansible.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
CentOS 7
Reproduction steps
Expected Results
Actual Results
Anything else?
Apparently #88 broke list-related logic, because with LTS 2.387 this was working.
Proposal: pass extra variables as json to Ansible.
The text was updated successfully, but these errors were encountered: