Upgrading ansible from 2.3.1.0 causes our Cloudstack provisioning roles to stop working with [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579).
The full traceback is:
File “/tmp/ansible_eGmrAs/ansible_modlib.zip/ansible/module_utils/cloudstack.py”, line 221, in query_api
res = getattr(self.cs, command)(**args)
File “/usr/lib/python2.7/site-packages/cs/client.py”, line 111, in handler
return self._request(command, **kwargs)
File “/usr/lib/python2.7/site-packages/cs/client.py”, line 152, in _request
**{kind: params})
File “/usr/lib/python2.7/site-packages/requests/api.py”, line 68, in get
return request(‘get’, url, **kwargs)
File “/usr/lib/python2.7/site-packages/requests/api.py”, line 50, in request
response = session.request(method=method, url=url, **kwargs)
File “/usr/lib/python2.7/site-packages/requests/sessions.py”, line 464, in request
resp = self.send(prep, **send_kwargs)
File “/usr/lib/python2.7/site-packages/requests/sessions.py”, line 576, in send
r = adapter.send(request, **kwargs)
File “/usr/lib/python2.7/site-packages/requests/adapters.py”, line 431, in send
raise SSLError(e, request=request)
I would like to update our roles with updated functionality found in the current versions and am asking if there is a way to ignore SSL Verification for the Cloudstack API.