community.general/plugins/modules/system
patchback[bot] 138b57230a
java_keystore: fix keystore type (#2516) (#2893)
* 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>
(cherry picked from commit 199ead85d0)

Co-authored-by: quidame <quidame@poivron.org>
2021-06-27 15:44:31 +02:00
..
aix_devices.py
aix_filesystem.py
aix_inittab.py
aix_lvg.py
aix_lvol.py
alternatives.py
awall.py
beadm.py rewritten as list literals (#2160) 2021-04-05 09:22:06 +02:00
capabilities.py
cronvar.py
crypttab.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
dconf.py Mark non-secret leaking module options with no_log=False (#2001) 2021-03-12 08:51:47 +01:00
dpkg_divert.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
facter.py
filesystem.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
gconftool2.py Mark non-secret leaking module options with no_log=False (#2001) 2021-03-12 08:51:47 +01:00
interfaces_file.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
iptables_state.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
java_cert.py java_cert - fix incorrect certificate alias on pkcs12 import (#2560) (#2581) 2021-05-22 13:46:32 +02:00
java_keystore.py java_keystore: fix keystore type (#2516) (#2893) 2021-06-27 15:44:31 +02:00
kernel_blacklist.py
launchd.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
lbu.py
listen_ports_facts.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
locale_gen.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
lvg.py
lvol.py lvol - bug fix - Convert units to lowercase when using LVS or VGS command (#2369) (#2439) 2021-05-03 22:07:52 +02:00
make.py
mksysb.py
modprobe.py modprobe - fix task status when module cannot be loaded (#2843) (#2880) 2021-06-26 13:45:13 +02:00
nosh.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
ohai.py
open_iscsi.py open_iscsi: allow same target selected portals login and override (#2684) (#2727) 2021-06-05 23:04:03 +02:00
openwrt_init.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
osx_defaults.py Mark non-secret leaking module options with no_log=False (#2001) 2021-03-12 08:51:47 +01:00
pam_limits.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
pamd.py pamd: Add a note in docs about authselect profiles (#2815) (#2820) 2021-06-16 22:25:39 +02:00
parted.py Fix repeated word in description of fs_type (#2717) (#2719) 2021-06-04 21:12:40 +02:00
pids.py pids module: Adding pattern and ignore_case options (#2280) 2021-04-21 12:45:09 +02:00
puppet.py puppet - replace stdout with console in logdest option (#2407) (#2421) 2021-05-03 07:59:33 +02:00
python_requirements_info.py Remove deprecated modules scheduled for removal in 3.0.0 (#1924) 2021-04-13 11:19:25 +00:00
runit.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
sefcontext.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
selinux_permissive.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
selogin.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
seport.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
shutdown.py
solaris_zone.py
ssh_config.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
svc.py Replace ansible.module_utils._text by ansible.module_utils.common.text.converters (#2877) (#2882) 2021-06-27 09:39:18 +02:00
syspatch.py Remove deprecated features scheduled for removal in 3.0.0 (#1926) 2021-03-09 21:23:20 +01:00
sysrc.py
sysupgrade.py
timezone.py timezone: change warning to debug (#2789) (#2803) 2021-06-14 19:11:39 +02:00
ufw.py
vdo.py vdo: add force option (#2110) 2021-03-27 15:13:53 +01:00
xfconf.py ModuleHelper - cmd params now taken from self.vars instead of self.module.params (#2517) (#2549) 2021-05-18 06:36:02 +02:00
xfs_quota.py