community.general/lib/ansible
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
..
cli Fix 'vault rekey' with vault secret env var 2016-11-01 13:07:48 -04:00
compat Move py34 mock_open compat to compat/test/mock (#17157) 2016-08-19 18:11:24 -04:00
config Making the switch to v2 2015-05-03 21:47:26 -05:00
errors Move uses of to_bytes, to_text, to_native to use the module_utils version (#17423) 2016-09-06 22:54:17 -07:00
executor Change v2_playbook_on_start logic to positively detect legacy plugins 2016-10-28 10:05:58 -07:00
galaxy Cast input role version to string before comparing to available versions (#18269) 2016-10-31 21:07:38 -04:00
inventory Allow unicode inventory filename 2016-10-15 16:54:51 -07:00
module_utils Fix adding the same trusted certificates multiple times (#18296) 2016-11-02 10:40:48 -07:00
modules Update submodule refs. 2016-11-02 09:59:10 -07:00
parsing Fix 'vault rekey' with vault secret env var 2016-11-01 13:07:48 -04:00
playbook Add a new potential su prompt 2016-10-24 16:55:54 -07:00
plugins Update syslog_json.py 2016-11-02 10:02:56 -04:00
template Remove unnecessary warnings (#18121) 2016-10-20 22:49:49 -04:00
utils Add timeout option for nxapi (#18074) 2016-11-02 13:32:19 +00:00
vars Correct delegated_host_name check 2016-10-11 11:15:53 -07:00
__init__.py Fix ziploader for the cornercase of ansible invoking ansible. 2016-04-29 08:47:49 -07:00
constants.py Make the default Ansible_managed string static so it doesn't interfere with idempotency 2016-10-18 16:19:17 -04:00
release.py Bumping devel version to 2.3.0 2016-10-03 11:46:31 -05:00
test-requirements.txt Making the switch to v2 2015-05-03 21:47:26 -05:00