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
Error message when the profile exist:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: 'int' object is not iterable
fatal: [127.0.0.1]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File "/root/.ansible/tmp/ansible-tmp-1667980534.7133691-263-230372837113664/AnsiballZ_nsxt_cluster_profiles.py", line 107, in \n _ansiballz_main()\n File "/root/.ansible/tmp/ansible-tmp-1667980534.7133691-263-230372837113664/AnsiballZ_nsxt_cluster_profiles.py", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/root/.ansible/tmp/ansible-tmp-1667980534.7133691-263-230372837113664/AnsiballZ_nsxt_cluster_profiles.py", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.vmware.ansible_for_nsxt.plugins.modules.nsxt_cluster_profiles', init_globals=dict(_module_fqn='ansible_collections.vmware.ansible_for_nsxt.plugins.modules.nsxt_cluster_profiles', _modlib_path=modlib_path),\n File "/usr/lib64/python3.8/runpy.py", line 207, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.8/runpy.py", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File "/usr/lib64/python3.8/runpy.py", line 87, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload_xwgr4u_i/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload.zip/ansible_collections/vmware/ansible_for_nsxt/plugins/modules/nsxt_cluster_profiles.py", line 277, in \n File "/tmp/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload_xwgr4u_i/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload.zip/ansible_collections/vmware/ansible_for_nsxt/plugins/modules/nsxt_cluster_profiles.py", line 229, in main\n File "/tmp/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload_xwgr4u_i/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload.zip/ansible_collections/vmware/ansible_for_nsxt/plugins/modules/nsxt_cluster_profiles.py", line 176, in check_for_update\n File "/tmp/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload_xwgr4u_i/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload.zip/ansible_collections/vmware/ansible_for_nsxt/plugins/modules/nsxt_cluster_profiles.py", line 123, in cmp_dict\nTypeError: 'int' object is not iterable\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
Reproduction steps
Run the module/task 2 times
Expected behavior
Module should retunr with ok - nothing to change
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Error message when the profile exist:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: 'int' object is not iterable
fatal: [127.0.0.1]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File "/root/.ansible/tmp/ansible-tmp-1667980534.7133691-263-230372837113664/AnsiballZ_nsxt_cluster_profiles.py", line 107, in \n _ansiballz_main()\n File "/root/.ansible/tmp/ansible-tmp-1667980534.7133691-263-230372837113664/AnsiballZ_nsxt_cluster_profiles.py", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/root/.ansible/tmp/ansible-tmp-1667980534.7133691-263-230372837113664/AnsiballZ_nsxt_cluster_profiles.py", line 47, in invoke_module\n runpy.run_module(mod_name='ansible_collections.vmware.ansible_for_nsxt.plugins.modules.nsxt_cluster_profiles', init_globals=dict(_module_fqn='ansible_collections.vmware.ansible_for_nsxt.plugins.modules.nsxt_cluster_profiles', _modlib_path=modlib_path),\n File "/usr/lib64/python3.8/runpy.py", line 207, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File "/usr/lib64/python3.8/runpy.py", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File "/usr/lib64/python3.8/runpy.py", line 87, in _run_code\n exec(code, run_globals)\n File "/tmp/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload_xwgr4u_i/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload.zip/ansible_collections/vmware/ansible_for_nsxt/plugins/modules/nsxt_cluster_profiles.py", line 277, in \n File "/tmp/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload_xwgr4u_i/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload.zip/ansible_collections/vmware/ansible_for_nsxt/plugins/modules/nsxt_cluster_profiles.py", line 229, in main\n File "/tmp/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload_xwgr4u_i/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload.zip/ansible_collections/vmware/ansible_for_nsxt/plugins/modules/nsxt_cluster_profiles.py", line 176, in check_for_update\n File "/tmp/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload_xwgr4u_i/ansible_vmware.ansible_for_nsxt.nsxt_cluster_profiles_payload.zip/ansible_collections/vmware/ansible_for_nsxt/plugins/modules/nsxt_cluster_profiles.py", line 123, in cmp_dict\nTypeError: 'int' object is not iterable\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
Reproduction steps
Run the module/task 2 times
Expected behavior
Module should retunr with ok - nothing to change
Additional context
No response
The text was updated successfully, but these errors were encountered: