1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/changelogs/fragments
quidame 199ead85d0
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>
2021-06-27 14:56:43 +02:00
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:17:57 +02:00
1085-consul-acl-hcl-whitelist-update.yml 1085 updating the hcl whitelist to include all supported options (#2495) 2021-05-17 07:32:51 +02:00
1942_timezone.yml timezone: change warning to debug (#2789) 2021-06-14 18:22:01 +02:00
2126-consul_kv-pass-token.yml Wire token param into consul_api #2124 (#2126) 2021-06-05 22:38:42 +02:00
2284-influxdb_retention_policy-fix_duration_parsing.yml influxdb_retention_policy: fix duration parsing to support INF values (#2396) 2021-05-01 14:19:05 +02:00
2323-groupby_as_dict-filter.yml Add groupby_as_dict filter (#2323) 2021-05-13 21:49:57 +02:00
2334-redfish_config-skip-incorrect-attributes.yml modified redfish_config and idrac_redfish_config to skip incorrect attributes (#2334) 2021-05-11 19:30:09 +02:00
2337-mark-inventory-scripts-executable.yml Make inventory scripts executable (#2337) 2021-04-26 21:24:26 +02:00
2348-composer-no-interaction-option-discovery-to-avoid-hang.yaml composer: --no-interaction when discovering available options (#2348) 2021-05-01 18:23:14 +02:00
2355-spotinst_aws_elastigroup-list-elements.yml spotinst_aws_elastigroup - fixed elements for many lists (#2355) 2021-04-27 13:18:29 +02:00
2364-influxdb_user-first_user.yml influxdb_user: allow creation of first user with auth enabled (#2364) (#2368) 2021-05-17 21:00:35 +02:00
2369-lvol_size_bug_fixes.yml lvol - bug fix - Convert units to lowercase when using LVS or VGS command (#2369) 2021-05-03 21:25:52 +02:00
2373-svr4pkg-fix-typeerror.yml Fix #2373 - TypeError: a bytes-like object is required, not 'str' (#2375) 2021-05-03 07:25:08 +02:00
2383-influxdb_retention_policy-add-state-option.yml influxdb_retention_policy - add state argument to module spec (#2383) (#2385) 2021-05-12 17:33:27 +02:00
2393-module_helper-breakdown.yml module_helper.py Breakdown (#2393) 2021-05-11 19:31:10 +02:00
2407-puppet-change_stdout_to_console.yaml puppet - replace stdout with console in logdest option (#2407) 2021-05-03 07:26:47 +02:00
2409-nmcli_add_slave-type_bridge_to_nmcli_command_if_type_is_bridge-slave.yml nmcli: Add 'slave-type bridge' to nmcli command if type is bridge-slave (#2409) 2021-05-03 07:27:56 +02:00
2410-linode-improvements.yml linode - docs/validation changes + minor refactorings (#2410) 2021-05-12 17:37:31 +02:00
2411-snap-revamp-enabled-disabled-states.yml snap - revamp + implementing enabled/disabled states (#2411) 2021-05-17 14:03:15 +02:00
2416-nmcli_compare_mac_addresses_case_insensitively.yml nmcli: Compare MAC addresses case insensitively (#2416) 2021-05-03 07:28:53 +02:00
2417-nmcli_remove_dead_code.yml nmcli: Remove dead code, 'options' never contains keys from 'param_alias' (#2417) 2021-05-11 19:35:30 +02:00
2430-linodev4-error-message.yml linode_v4 - fixed error message (#2430) 2021-05-03 13:27:16 +02:00
2435-one_vm-fix_missing_keys.yml OpenNebula one_vm.py: Fix missing keys (#2435) 2021-05-04 12:21:55 +02:00
2448-stackpath_compute-fix.yml fix stackpath_compute validate_config (#2448) 2021-05-09 22:25:00 +02:00
2450-gitlab_user-add_expires_at_option.yaml gitlab_user: add expires_at option (#2450) 2021-05-14 10:00:59 +02:00
2454-detect_zfs_changed.yml Avoid incorrectly marking zfs tasks as changed (#2454) 2021-05-10 17:55:19 +02:00
2461-ovirt4-fix-configparser.yml ovir4 inventory script (#2461) 2021-05-22 13:34:19 +02:00
2472_filesystem_module_revamp.yml filesystem: revamp module (#2472) 2021-05-18 06:46:45 +02:00
2485-java_keystore-ssl_backend-parameter.yml java_keystore: New ssl_backend option for cryptography (#2485) 2021-05-14 22:31:44 +02:00
2499-influxdb_user-fix-multiple-no-privileges.yml Update influxdb_user.py Fixed Multiple No Privileges (#2499) 2021-05-17 07:33:40 +02:00
2500-passwordstore-add_option_ignore_missing.yml Add option missing to passwordstore lookup (#2500) 2021-05-17 13:50:40 +02:00
2510-jenkins_plugin_use_post_method.yml jenkins_plugin: HTTP Error 405: Method Not Allowed on disable/enable plugin #2510 (#2511) 2021-05-26 07:00:53 +02:00
2514-mh-improved-changed.yml ModuleHelper - better mechanism for customizing "changed" behaviour (#2514) 2021-05-17 20:28:21 +02:00
2516_fix_2515_keystore_type_jks.yml java_keystore: fix keystore type (#2516) 2021-06-27 14:56:43 +02:00
2517-cmd-params-from-vars.yml ModuleHelper - cmd params now taken from self.vars instead of self.module.params (#2517) 2021-05-17 22:44:00 +02:00
2518-nmap-fix-cache-disabled.yml fix error when cache is disabled (#2518) 2021-05-17 07:35:15 +02:00
2520-connection-refactors.yml Cleanup connections plugins (#2520) 2021-05-16 13:24:37 +02:00
2521-flatpak-list.yml flatpak - allow to add/remove multiple flatpaks at once (#2521) 2021-06-17 08:00:49 +02:00
2524-pacman_add_bin_option.yml pacman: add 'executable' option to use an alternative pacman binary (#2524) 2021-05-18 12:59:11 +02:00
2525-iptables_state-fix-initialization-command.yml iptables_state: fix per-table initialization command (#2525) 2021-05-18 11:51:37 +02:00
2526-java_keystore-password-via-stdin.yml java_keystore: pass in secret to keytool via stdin (#2526) 2021-05-17 20:05:24 +02:00
2540-zfs-delegate-choices.yml zfs_delegate_admin: drop choices from permissions (#2540) 2021-05-17 18:55:00 +02:00
2556-add-comment_visibility-parameter-for-comment-operation-of-jira-module.yml Add comment_visibility parameter for comment operation for jira module (#2556) 2021-05-20 22:06:00 +02:00
2557-cloud-misc-refactor.yml minor refactors on plugins/modules/cloud/misc (#2557) 2021-05-27 19:13:21 +02:00
2560-java_cert-pkcs12-alias-bugfix.yml java_cert - fix incorrect certificate alias on pkcs12 import (#2560) 2021-05-22 13:33:27 +02:00
2564-mh-cmd-process-output.yml ModuleHelper: CmdMixin custom function for processing cmd results (#2564) 2021-05-20 19:43:16 +02:00
2568-ssh_config-reduce-stormssh-searches-based-on-host.yml Reduce stormssh searches based on host (#2568) 2021-06-05 14:53:02 +02:00
2571-rhsm_release-fix-release_matcher.yaml rhsm_release: Fix the issue that rhsm_release module considers 8, 7Client and 7Workstation as invalid releases (#2571) 2021-05-24 21:59:52 +02:00
2573-terraform-overwrite-init.yml Terraform overwrite init (#2573) 2021-05-27 19:03:39 +02:00
2578-ini-file-utf8-bom.yml ini_file - opening file as utf-8-sig (#2578) 2021-05-22 22:20:37 +02:00
2579-redis-cache-ipv6.yml redis cache - better parsing of connection uri (#2579) 2021-05-26 07:07:09 +02:00
2590-netcup_dns-exception-no-message-attr.yml Use str() to get exception message (#2590) 2021-05-25 12:58:20 +02:00
2614-influxdb_user-fix-issue-introduced-in-PR#2499.yml influxdb_user: Fix bug introduced by PR 2499 (#2614) 2021-05-27 08:01:28 +02:00
2616-archive-exclusion_patterns-option.yml archive - Adding exclusion_patterns option (#2616) 2021-05-31 07:51:29 +02:00
2632-cleanup.yml meta/runtime.yml and __init__.py cleanup (#2632) 2021-05-27 18:49:26 +02:00
2634-terraform-switch-workspace.yml Terraform: ensure workspace is reset to current value (#2634) 2021-06-04 19:12:29 +02:00
2635-nmcli-add-ignore-auto-arguments.yml nmcli: new arguments to ignore automatic dns servers and gateways (#2635) 2021-06-01 22:04:09 +02:00
2648-proxmox_kvm-fix-vmid-return-value.yml proxmox_kvm - Fixed vmid result when VM with name exists (#2648) 2021-05-29 09:00:12 +02:00
2650-composer-add_composer_executable.yml composer: add composer_executable (#2650) 2021-05-28 12:49:29 +02:00
2661-maven_artifact-add-sha1-option.yml Added SHA1 option to maven_artifact (#2662) 2021-06-01 22:06:26 +02:00
2671-fix-broken-query-of-async_status-result.yml iptables_state: fix broken query of async_status result (#2671) 2021-05-29 10:50:24 +02:00
2681-stacki-host-bugfix.yml Bugfix + sanity checks for stacki_host (#2681) 2021-06-07 07:58:26 +02:00
2684-open_iscsi-single-target-multiple-portal-overrides.yml open_iscsi: allow same target selected portals login and override (#2684) 2021-06-05 22:40:49 +02:00
2691-gitlab_user-support-identity-provider.yml gitlab_user: add support for identity provider (#2691) 2021-06-21 21:32:07 +02:00
2711-fix-iptables_state-2700-async_status-call.yml iptables_state: fix async status call (-> action plugin) (#2711) 2021-06-06 08:20:52 +02:00
2722-zypper_repository-fix_idempotency_on_adding_repo_with_releasever.yml zypper_repository: fix idempotency on adding repo with releasever and basearch variables (#2722) 2021-06-08 08:23:32 +02:00
2731-mh-cmd-locale.yml ModuleHelper - also uses LC_ALL to force language (#2731) 2021-06-07 13:06:23 +02:00
2732-nmcli_add_options.yml Nmcli add options (#2732) 2021-06-19 14:42:05 +02:00
2735-onepassword-add_domain_option.yml Add domain option to onepassword lookup (#2735) 2021-06-08 11:41:21 +02:00
2751-flatpak-no_dependencies.yml flatpak: add tests in CI, add no_dependencies parameter (#2751) 2021-06-08 08:46:20 +02:00
2771-scaleway_inventory_json_accept_byte_array.yml [scaleway inventory] Fix JSON object must be str, not 'bytes' (#2771) 2021-06-11 13:05:29 +02:00
2774-datadog_event_api_parameter.yml datadog_event : Adding api_host as an optional parameter (#2775) 2021-06-17 19:05:35 +02:00
2779_redhat_subscription-add_server_prefix_and_server_port.yml redhat_subscription: Add server_prefix and server_port as supported arguments (#2779) 2021-06-16 11:31:54 +04:30
2790-callback_splunk-batch-option.yml callback_splunk - Add user-configurable event correlation id (#2790) 2021-06-16 22:28:09 +04:30
2816-archive-refactor.yml archive - refactor and bugfix (#2816) 2021-06-24 13:33:10 +02:00
2821-ipa_sudorule.yml fix sudorule_add_allow_command_group (#2821) 2021-06-17 19:08:42 +02:00
2830-npm-version-update.yml npm - fix updating version specific modules (#2830) 2021-06-18 22:08:46 +02:00
2841-proxmox_kvm_zfs_devstr.yml proxmox_kvm: Fix ZFS device string parsing (#2841) 2021-06-20 12:42:19 +02:00
2843-modprobe-failure-conditions.yml modprobe - fix task status when module cannot be loaded (#2843) 2021-06-26 23:27:41 +12:00
2844-ali_instance_info-deprecate-params.yml ali_instance_info - marked parameters for deprecation in c.g. 5.0.0 (#2844) 2021-06-20 13:17:58 +02:00
2845-serverless-deprecate-functions-param.yml serverless - deprecating unused param (#2845) 2021-06-20 13:07:45 +02:00
2850-jenkins_build-support-stop-jenkins-build.yml jenkins_build: Support stop a running Jenkins build (#2850) 2021-06-23 23:29:50 +02:00
2867-redis-terminology.yml Redis: slave -> replica (#2867) 2021-06-24 22:33:29 +02:00
2874-terraform-check-destroy.yml terraform - added check_destroy (#2874) 2021-06-27 12:38:04 +02:00
2875-ini_file-unicode.yml ini_file: fix regression reported in #2578 (#2875) 2021-06-27 10:00:01 +02:00
2878-validate-certs-bool.yml Add option type validation. (#2878) 2021-06-27 09:57:51 +02:00
2881-gitlab_project-fix_workspace_user.yaml Fix/gitlab project user workspace (#2881) 2021-06-27 16:31:06 +04:30
2883-_mount-fixed-sanity-checks.yml _mount module utils - fixed sanity checks (#2883) 2021-06-27 09:39:08 +02:00
ansible-core-_text.yml Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) 2021-06-26 23:59:11 +02:00
gem_module_add_bindir_option.yml gem_module: Add bindir option (#2837) 2021-06-21 19:53:03 +12:00
ipaddress.yml Remove vendored ipaddress module. (#2441) 2021-05-05 12:31:01 +02:00
json_query_more_types.yml json_query, no more 'unknown type' errors (#2607) 2021-05-25 13:04:19 +02:00
keycloak-realm-no-log-password-reset.yml keycloak_realm.py: Mark 'reset_password_allowed' as no_log=False (#2694) 2021-06-03 21:42:05 +02:00
keycloak_realm_ssl_required.yml keycloak_realm.py: Fix the ssl_required parameter according to the API (#2693) 2021-06-03 21:44:54 +02:00
nios-deprecation.yml Deprecate nios content (#2458) 2021-05-13 21:50:40 +02:00
remove-scripts.yml Remove inventory and vault scripts (#2696) 2021-06-19 15:06:58 +02:00