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/integration
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)
8 years ago
..
group_vars Added support for new Ansible Infra (network_cli plugin, cliconf, module utils cleanup and test) for dellos10 Support t (#34915) 8 years ago
host_vars Simplify Windows versions in ansible-test. 8 years ago
roles Added support for new Ansible Infra (network_cli plugin, cliconf, module utils cleanup and test) for dellos10 Support t (#34915) 8 years ago
targets Backport/2.5/38386 (#38462) 8 years ago
cloud-config-aws.yml.template Add region to ansible-test AWS cloud config. (#30733) 8 years ago
cloud-config-azure.yml.template Fix Azure config template. 9 years ago
cloud-config-cs.ini.template Add support for cloud tests to ansible-test. (#24315) 9 years ago
cloud-config-gcp.yml.template [cloud] New GCP module: DNS Managed Zones (gcp_dns_managed_zone.py) (#35014) 8 years ago
dellos6.yaml Migrate Network Tests into ansible/ansible (#18233) 9 years ago
dellos9.yaml Migrate Network Tests into ansible/ansible (#18233) 9 years ago
dellos10.yaml Added support for new Ansible Infra (network_cli plugin, cliconf, module utils cleanup and test) for dellos10 Support t (#34915) 8 years ago
integration.cfg Fix ansible-test config management. 8 years ago
integration_config.yml Fix pip integration test. 8 years ago
inventory ACI: Support validate_certs, use_ssl and use_proxy (#35146) 8 years ago
inventory.networking.template Reflect new process for network integration tests (#35577) 8 years ago
inventory.remote.template Add support for OS X CI on Shippable. (#17160) 10 years ago
inventory.winrm.template Increase python version coverage for tests. (#24762) 9 years ago
network-integration.cfg Increase socket connect retry timeout for integration test (#30681) 8 years ago
nxos.yaml Module deprecation: docs, scheme and tests (#34100) 8 years ago
target-prefixes.network ACI: Make network testing work out-of-the-box (#35116) 8 years ago
windows-integration.cfg Fix ansible-test config management. 8 years ago