the above play is printing info for jobs which are not multipipline. if I give multipipeline jobs its failing.
Is there any work around or am I missing anything…
this is the failure message I get
fatal: [localhost]: FAILED! => {
“changed”: false,
“module_stderr”: “Traceback (most recent call last):\n File "/home/deploy-user/.ansible/tmp/ansible-tmp-1687467074.902748-21679-1695874315533/AnsiballZ_jenkins_job_info.py", line 100, in \n _ansiballz_main()\n File "/home/deploy-user/.ansible/tmp/ansible-tmp-1687467074.902748-21679-1695874315533/AnsiballZ_jenkins_job_info.py", line 92, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/home/deploy-user/.ansible/tmp/ansible-tmp-1687467074.902748-21679-1695874315533/AnsiballZ_jenkins_job_info.py", line 41, in invoke_module\n run_name=‘main’, alter_sys=True)\n File "/usr/lib64/python3.6/runpy.py", line 205, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_jenkins_job_info_payload_k3zaq5p6/ansible_jenkins_job_info_payload.zip/ansible_collections/community/general/plugins/modules/jenkins_job_info.py", line 262, in \n File "/tmp/ansible_jenkins_job_info_payload_k3zaq5p6/ansible_jenkins_job_info_payload.zip/ansible_collections/community/general/plugins/modules/jenkins_job_info.py", line 252, in main\n File "/tmp/ansible_jenkins_job_info_payload_k3zaq5p6/ansible_jenkins_job_info_payload.zip/ansible_collections/community/general/plugins/modules/jenkins_job_info.py", line 204, in get_jobs\nKeyError: ‘color’\n”,
“module_stdout”: “”,
“msg”: “MODULE FAILURE\nSee stdout/stderr for the exact error”,
“rc”: 1