mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-20 04:51:43 -07:00
java_keystore: fix keystore type (#2516)
* fix keystore type; update unit tests * add changelog fragment * document new param 'keystore_type' * add keystore_type support (backward compatible) * check JKS format with magic bytes * update integration tests * revert first changes in unit tests * update changelog fragment * fix magic bytes for python2/python3 * fix integration tests (irrelevant check_mode) * fix unit test (keystore removed before failure => changed=true) * fix typo * fix spelling * shorten a branch * mock is_jks_or_pkcs12 * fix function path in unit tests * Apply suggestions from code review (spelling) Co-authored-by: Ajpantuso <ajpantuso@gmail.com> * rename a method (module + unit tests) * move ArgumentSpec class content to main() * refactor create() to not loose existing keystore in case of error * update unit tests * add integration test (error handling) * fix keystore backup cleanup Co-authored-by: Ajpantuso <ajpantuso@gmail.com>
This commit is contained in:
parent
2fb0877577
commit
199ead85d0
4 changed files with 308 additions and 69 deletions
4
changelogs/fragments/2516_fix_2515_keystore_type_jks.yml
Normal file
4
changelogs/fragments/2516_fix_2515_keystore_type_jks.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
bugfixes:
|
||||
- "java_keystore - add parameter ``keystore_type`` to control output file format and override ``keytool``'s
|
||||
default, which depends on Java version (https://github.com/ansible-collections/community.general/issues/2515)."
|
Loading…
Add table
Add a link
Reference in a new issue