community.general/lib/ansible/module_utils
Patrick Uiterwijk 77af3a68de Fix adding the same trusted certificates multiple times (#18296)
If there is an intermittent network failure, we might be trying to reach
an URL multiple times. Without this patch, we would be re-adding the same
certificate to the OpenSSL default context multiple times.
Normally, this is no big issue, as OpenSSL will just silently ignore them,
after registering the error in its own error stack.
However, when python-cryptography initializes, it verifies that the current
error stack of the default OpenSSL context is empty, which it no longer is
due to us adding the certificates multiple times.
This results in cryptography throwing an Unknown OpenSSL Error with details:

OpenSSLErrorWithText(code=185057381L, lib=11, func=124, reason=101,
reason_text='error:0B07C065:x509 certificate routines:X509_STORE_add_cert:cert already in hash table'),

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-11-02 10:40:48 -07:00
..
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
_text.py Simplify surrogate check in to_text() (#18211) 2016-10-29 09:12:02 -07:00
a10.py Fix call to axapi_call_v3() (#17637) 2016-09-19 16:42:23 +01:00
api.py Added basic auth argument spec to utils (#15585) 2016-04-25 14:55:39 -04:00
asa.py minor fix for checking kwargs in get_config() (#18002) 2016-10-13 15:12:49 -04:00
azure_rm_common.py fix version check to support >=rc5 2016-10-24 20:01:41 -07:00
basic.py Add hint that python3 might be too old 2016-10-27 07:45:14 -07:00
cloud.py CloudRetry/AWSRetry backoff decorator with unit tests (#17039) 2016-09-13 16:46:59 -04:00
cloudstack.py fix iteritems for python 3 2016-11-01 09:38:03 -07:00
database.py just a few spelling error changes 2015-04-28 09:36:42 -04:00
dellos6.py Update OS6 sublevels (#17735) 2016-09-24 09:27:38 -04:00
dellos9.py fixes mode on module_utils/dellos9.py (#17682) 2016-09-22 10:42:57 -04:00
dellos10.py Renamed the Modules from dnos* -> dellos*, updated copyright, removed… (#17617) 2016-09-16 22:45:08 +01:00
docker_common.py Let docker-py decode pull response 2016-10-03 11:38:12 -04:00
ec2.py Allow AWSRetry class to be created without boto3/botocore installed 2016-09-14 11:34:10 -04:00
eos.py Exception.message gone in 3.x (#18221) 2016-10-28 13:48:16 -04:00
exoscale.py exo_dns: new module utils and integration tests for exoscale DNS (#17230) 2016-08-30 21:48:28 +02:00
f5.py Adds a general purpose Exception class for F5 modules (#15977) 2016-05-24 11:18:39 -04:00
facts.py aix network facts: Separate out the uname call to reduce total calls (#18288) 2016-11-01 19:34:26 -04:00
gcdns.py Fix import of gce/gcdns without a libcloud module 2016-07-29 13:34:09 -04:00
gce.py Fix import of gce/gcdns without a libcloud module 2016-07-29 13:34:09 -04:00
gcp.py Refactored gce util module to support other GCP services (#15924) 2016-07-28 12:54:39 -04:00
ios.py Network module cleanup (#17334) 2016-09-06 13:49:48 -04:00
iosxr.py clean up iosxr shared module 2016-09-11 23:32:05 -04:00
ismount.py fix typo 2016-02-08 19:10:04 +01:00
json_utils.py bugfixes to JSON junk filter, added unit/integration tests to exercise (#17834) 2016-10-02 08:03:42 -07:00
junos.py fixes issue with run_commands raising error (#17861) 2016-10-02 16:47:22 -04:00
known_hosts.py Add support ssh configs from /etc/openssh. 2016-01-14 13:01:49 +03:00
lxd.py Fix lxd_container module fails if certificate already in trust store 2016-10-24 20:40:04 -07:00
mysql.py enable mysql connection via unix socket 2016-04-12 14:16:18 +02:00
netcfg.py allow netcfg to pass kwargs from __call__ to configure() (#17653) 2016-09-19 22:27:31 -04:00
netcli.py adds new exception for adding condition statements to Conditional (#17859) 2016-10-02 14:47:58 -04:00
network.py Exception.message gone in 3.x (#18221) 2016-10-28 13:48:16 -04:00
nxos.py Add timeout option for nxapi (#18074) 2016-11-02 13:32:19 +00:00
openstack.py Set type for OpenStack 'verify' param 2016-03-11 08:07:30 -05:00
openswitch.py Cleanup openswitch 2016-09-12 13:35:57 -04:00
ovirt.py Add oVirt support to ansible/module_utils module (#17364) 2016-09-21 12:41:36 -04:00
powershell.ps1 Bugfix: fixes new-alias bug when debugging powershell (#17816) 2016-09-30 09:46:06 -07:00
pycompat24.py Migrate basestring to a python3 compatible type (#17199) 2016-08-23 13:13:44 -07:00
rax.py Migrate basestring to a python3 compatible type (#17199) 2016-08-23 13:13:44 -07:00
redhat.py Remove some more unused stdlib deps. 2015-11-03 09:53:18 -08:00
service.py removed unused code, added comment explaining 2016-09-26 10:27:56 -04:00
shell.py Exception.message gone in 3.x (#18221) 2016-10-28 13:48:16 -04:00
six.py Some Python-3 module_utils support 2016-05-14 07:51:13 -07:00
splitter.py Changing license on module_utils/splitter.py to BSD 2016-08-13 09:56:12 -05:00
sros.py updates sros shared module 2016-09-11 23:34:46 -04:00
univention_umc.py univention: add common code for univention corporate server modules (#16172) 2016-08-27 09:42:53 +02:00
urls.py Fix adding the same trusted certificates multiple times (#18296) 2016-11-02 10:40:48 -07:00
vca.py Defined children for get_vm (#15904) 2016-09-08 08:41:32 -07:00
vmware.py Port the module snippet to python3 (#15870) 2016-05-16 08:04:43 -04:00
vyos.py Cleanup openswitch 2016-09-12 13:35:57 -04:00