Closed tomiloza closed 5 years ago
Hi @tomiloza , I couldnt reproduce the same error. Is this error constantly coming? Please help us in understanding your playbook and usecase.
@tomiloza
I cannot replicate the issue either.
I will be closing this issue due to inactivity.
If you still face the same problem please open a new issue, and include the playbook source code and the output of the verbose playbook execution. I usually catch all playbook output on ubuntu linux with the following command:
ansible-playbook -vvv my_playbook.yaml |& tee log.txt
Hello,
when executing the csvserver ansbile task a second time (first execution was successful) when already the root certificates are bindend to the csverver we get the following type error:
fatal: [netscaler_XXXX -> localhost]: FAILED! => { "changed": false, "module_stderr": "/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n InsecureRequestWarning)\n/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n InsecureRequestWarning)\n/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n InsecureRequestWarning)\n/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n InsecureRequestWarning)\n/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n InsecureRequestWarning)\n/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n InsecureRequestWarning)\n/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n InsecureRequestWarning)\n/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n InsecureRequestWarning)\n/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n InsecureRequestWarning)\n/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings\n InsecureRequestWarning)\nTraceback (most recent call last):\n File \"/tmp/ansible_SQ0VXM/ansible_module_netscaler_cs_vserver.py\", line 1316, in\n main()\n File \"/tmp/ansible_SQ0VXM/ansible_module_netscaler_cs_vserver.py\", line 1258, in main\n ssl_certkey_bindings_sync(client, module)\n File \"/tmp/ansible_SQ0VXM/ansible_module_netscaler_cs_vserver.py\", line 815, in ssl_certkey_bindings_sync\n sslvserver_sslcertkey_binding.delete(client, binding)\n File \"/usr/local/lib/python2.7/site-packages/nssrc/com/citrix/netscaler/nitro/resource/config/ssl/sslvserver_sslcertkey_binding.py\", line 254, in delete\n raise e\nTypeError: cannot concatenate 'str' and 'bool' objects\n",
"module_stdout": "",
"msg": "MODULE FAILURE",
"rc": 1