You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test
John R Barker 4f0389ad4e
Backport/2.5/38386 (#38462)
* openssl_certificate: Handle dump() in check_mode (#38386)

Currently, when ones run the module in check_mode it tries to retrieve
values from the actual certificate generated in the generate() function.

Since in check_mode we call dump() without calling generate(), self.cert
is None, leading to self.cert.get_notBefore(), self.cert.get_notAfter()
and self.cert.get_serial_number() raising an error.

>  NoneType' object has no attribute 'get_notBefore'

The solution is to have two way to handle dump() method, whether its run
in check_mode=True or check_mode=False leading to different way the
information is retrieved.
(cherry picked from commit 99497ce54c)
7 years ago
..
cache Update ansible-test sanity command. (#31958) 7 years ago
integration Backport/2.5/38386 (#38462) 7 years ago
legacy exo_dns_record: remove limitation for multiple records only for A type (#35173) 7 years ago
results Collect data from integration test runs. (#28650) 7 years ago
runner Pin httptester SHA. 7 years ago
sanity win_service: backport of special char in name handler (#38250) 7 years ago
units Network connection backports (#37529) 7 years ago
utils Match recent Dockerfile change in httptester playbook file, to extend ca cert lifetime (#35734) 7 years ago