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
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: string indices must be integers
localhost | FAILED! => {
"changed": false,
"module_stderr": "Traceback (most recent call last):\n File "/home/kk/.ansible/tmp/ansible-tmp-1739571446.1771965-1394-84107872128117/AnsiballZ_workflow_job_template.py", line 107, in \n _ansiballz_main()\n File "/home/kk/.ansible/tmp/ansible-tmp-1739571446.1771965-1394-84107872128117/AnsiballZ_workflow_job_template.py", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/home/kk/.ansible/tmp/ansible-tmp-1739571446.1771965-1394-84107872128117/AnsiballZ_workflow_job_template.py", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.ansible.controller.plugins.modules.workflow_job_template', init_globals=dict(_module_fqn='ansible_collections.ansible.controller.plugins.modules.workflow_job_template', _modlib_path=modlib_path),\n File "/usr/lib64/python3.9/runpy.py", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_ansible.controller.workflow_job_template_payload_vo7mnbkq/ansible_ansible.controller.workflow_job_template_payload.zip/ansible_collections/ansible/controller/plugins/modules/workflow_job_template.py", line 1016, in \n File "/tmp/ansible_ansible.controller.workflow_job_template_payload_vo7mnbkq/ansible_ansible.controller.workflow_job_template_payload.zip/ansible_collections/ansible/controller/plugins/modules/workflow_job_template.py", line 1007, in main\n File "/tmp/ansible_ansible.controller.workflow_job_template_payload_vo7mnbkq/ansible_ansible.controller.workflow_job_template_payload.zip/ansible_collections/ansible/controller/plugins/modules/workflow_job_template.py", line 658, in create_workflow_nodes\nTypeError: string indices must be integers\n",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
}
Additional information
No response
The text was updated successfully, but these errors were encountered:
Please confirm the following
security@ansible.com
instead.)Bug Summary
which would be required to remove the setting
AWX version
4.6.7
Select the relevant components
Installation method
docker development environment
Modifications
no
Ansible version
2.15.13
Operating system
RHEL9
Web browser
No response
Steps to reproduce
ansible -m ansible.controller.workflow_job_template -a '{"name": "Workflow B", "workflow_nodes": [{"identifier": "1ca40111-f92b-435e-bff2-b33edd455941", "unified_job_template": {"name": "Template C", "type": "job_template"}, "execution_environment": {"name": "B"}}]}' localhost
localhost | CHANGED => {
"changed": true,
"id": 18,
"node_creation_data": [
.....
ansible -m ansible.controller.workflow_job_template -a '{"name": "Workflow B", "workflow_nodes": [{"identifier": "1ca40111-f92b-435e-bff2-b33edd455941", "unified_job_template": {"name": "Template C", "type": "job_template"}, "execution_environment": ""}]}' localhost
Expected results
localhost | CHANGED => {
"changed": true,
"id": 18,
"node_creation_data": [
.....
Actual results
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: string indices must be integers
localhost | FAILED! => {
"changed": false,
"module_stderr": "Traceback (most recent call last):\n File "/home/kk/.ansible/tmp/ansible-tmp-1739571446.1771965-1394-84107872128117/AnsiballZ_workflow_job_template.py", line 107, in \n _ansiballz_main()\n File "/home/kk/.ansible/tmp/ansible-tmp-1739571446.1771965-1394-84107872128117/AnsiballZ_workflow_job_template.py", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/home/kk/.ansible/tmp/ansible-tmp-1739571446.1771965-1394-84107872128117/AnsiballZ_workflow_job_template.py", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.ansible.controller.plugins.modules.workflow_job_template', init_globals=dict(_module_fqn='ansible_collections.ansible.controller.plugins.modules.workflow_job_template', _modlib_path=modlib_path),\n File "/usr/lib64/python3.9/runpy.py", line 225, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.9/runpy.py", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_ansible.controller.workflow_job_template_payload_vo7mnbkq/ansible_ansible.controller.workflow_job_template_payload.zip/ansible_collections/ansible/controller/plugins/modules/workflow_job_template.py", line 1016, in \n File "/tmp/ansible_ansible.controller.workflow_job_template_payload_vo7mnbkq/ansible_ansible.controller.workflow_job_template_payload.zip/ansible_collections/ansible/controller/plugins/modules/workflow_job_template.py", line 1007, in main\n File "/tmp/ansible_ansible.controller.workflow_job_template_payload_vo7mnbkq/ansible_ansible.controller.workflow_job_template_payload.zip/ansible_collections/ansible/controller/plugins/modules/workflow_job_template.py", line 658, in create_workflow_nodes\nTypeError: string indices must be integers\n",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
}
Additional information
No response
The text was updated successfully, but these errors were encountered: