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
No changes should happen to the existing keystore. Empty lists should be iterable.
ACTUAL RESULTS
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: 'NoneType' object is not iterable
fatal: [xxxx]: FAILED! => {"changed": false, "module_stderr": "Shared connection to xxxxx closed.\r\n", "module_stdout": "Traceback (most recent call last):\r\n File \"xxxx/.ansible/tmp/ansible-tmp-1657104240.382261-3050-153904700789114/AnsiballZ_openssl_pkcs12.py\", line 107, in <module>\r\n _ansiballz_main()\r\n File \"xxxx/.ansible/tmp/ansible-tmp-1657104240.382261-3050-153904700789114/AnsiballZ_openssl_pkcs12.py\", line 99, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File \"xxxx/.ansible/tmp/ansible-tmp-1657104240.382261-3050-153904700789114/AnsiballZ_openssl_pkcs12.py\", line 48, in invoke_module\r\n run_name='__main__', alter_sys=True)\r\n File \"/usr/lib64/python3.6/runpy.py\", line 205, in run_module\r\n return _run_module_code(code, init_globals, run_name, mod_spec)\r\n File \"/usr/lib64/python3.6/runpy.py\", line 96, in _run_module_code\r\n mod_name, mod_spec, pkg_name, script_name)\r\n File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\r\n exec(code, run_globals)\r\n File \"/tmp/ansible_community.crypto.openssl_pkcs12_payload_o0zgl8ve/ansible_community.crypto.openssl_pkcs12_payload.zip/ansible_collections/community/crypto/plugins/modules/openssl_pkcs12.py\", line 785, in <module>\r\n File \"/tmp/ansible_community.crypto.openssl_pkcs12_payload_o0zgl8ve/ansible_community.crypto.openssl_pkcs12_payload.zip/ansible_collections/community/crypto/plugins/modules/openssl_pkcs12.py\", line 745, in main\r\n File \"/tmp/ansible_community.crypto.openssl_pkcs12_payload_o0zgl8ve/ansible_community.crypto.openssl_pkcs12_payload.zip/ansible_collections/community/crypto/plugins/modules/openssl_pkcs12.py\", line 432, in check\r\n File \"/tmp/ansible_community.crypto.openssl_pkcs12_payload_o0zgl8ve/ansible_community.crypto.openssl_pkcs12_payload.zip/ansible_collections/community/crypto/plugins/modules/openssl_pkcs12.py\", line 564, in _dump_other_certificates\r\nTypeError: 'NoneType' object is not iterable\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
The text was updated successfully, but these errors were encountered:
SUMMARY
TypeError: 'NoneType' object is not iterable
in openssl_pkcs12 when the keystore already exists and other_certificates is an empty list.ISSUE TYPE
COMPONENT NAME
community.crypto.openssl_pkcs12
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
RHEL 7, Python 3.6
STEPS TO REPRODUCE
Run twice the task below : the first time it creates the keystore successfully, the second time it throws a TypeError
EXPECTED RESULTS
No changes should happen to the existing keystore. Empty lists should be iterable.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: