ansible/test/integration
Yanis Guenane 99497ce54c 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.
2018-04-09 09:26:02 +01:00
..
host_vars Simplify Windows versions in ansible-test. 2018-01-17 16:16:15 -08:00
targets openssl_certificate: Handle dump() in check_mode (#38386) 2018-04-09 09:26:02 +01:00
cloud-config-aws.yml.template
cloud-config-azure.yml.template
cloud-config-cs.ini.template
cloud-config-gcp.yml.template [cloud] New GCP module: DNS Managed Zones (gcp_dns_managed_zone.py) (#35014) 2018-02-06 11:50:16 -05:00
cloud-config-openshift.kubeconfig.template Initial OpenShift integration test support. (#36207) 2018-02-14 13:39:42 -08:00
cloud-config-tower.cfg.template Initial Tower module integration test support. 2018-03-07 14:21:55 -08:00
integration.cfg
integration_config.yml Fix pip integration test. 2018-01-31 23:26:16 -08:00
inventory ACI: Support validate_certs, use_ssl and use_proxy (#35146) 2018-01-21 00:38:20 +01:00
inventory.networking.template Reflect new process for network integration tests (#35577) 2018-01-31 14:56:28 -06:00
inventory.remote.template
inventory.winrm.template
network-integration.cfg
nxos.yaml Module deprecation: docs, scheme and tests (#34100) 2018-01-30 12:23:52 +00:00
target-prefixes.network ACI: Make network testing work out-of-the-box (#35116) 2018-01-20 02:47:28 +01:00
windows-integration.cfg