community.general/plugins/modules/system
patchback[bot] 9241b853c0
java_keystore: improve error handling and returned results (#2183) (#2227)
* java_keystore - improve error handling and returned results

* set check_rc=False to return results as documented when module fails
* set LANG, LC_ALL and LC_MESSAGES to C to rely keytool output parsing
* fix pylint's `no-else-return` and `unused-variable` hints
* update related unit tests accordingly
* add a changelog fragment

update unit test (remove stdout_lines from returned dict)

fix unit test: failure is now expected when alias does not exist

* Update changelogs/fragments/2183-java_keystore_improve_error_handling.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* fix integration test: overwrite keystore at the same location

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 89b7e7191f)

Co-authored-by: quidame <quidame@poivron.org>
2021-04-12 22:13:36 +02:00
..
aix_devices.py Tidy up validate-modules:doc-required-mismatch (#1415) 2020-11-28 14:06:28 +01:00
aix_filesystem.py
aix_inittab.py
aix_lvg.py
aix_lvol.py
alternatives.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1839) 2021-02-16 08:46:20 +01:00
awall.py
beadm.py rewritten as list literals (#2160) (#2168) 2021-04-05 09:50:07 +02:00
capabilities.py
cronvar.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1839) 2021-02-16 08:46:20 +01:00
crypttab.py
dconf.py Mark non-secret leaking module options with no_log=False (#2001) (#2005) 2021-03-12 09:17:05 +01:00
dpkg_divert.py
facter.py Added Arguments for Facter module (#768) 2020-11-23 18:59:09 +01:00
filesystem.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1839) 2021-02-16 08:46:20 +01:00
gconftool2.py Mark non-secret leaking module options with no_log=False (#2001) (#2005) 2021-03-12 09:17:05 +01:00
interfaces_file.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1839) 2021-02-16 08:46:20 +01:00
iptables_state.py
java_cert.py Update java_cert module (#2008) (#2199) 2021-04-07 20:41:58 +02:00
java_keystore.py java_keystore: improve error handling and returned results (#2183) (#2227) 2021-04-12 22:13:36 +02:00
kernel_blacklist.py
launchd.py launchd: Handle deprecated APIs in plistlib (#1554) 2020-12-30 11:25:32 +05:30
lbu.py
listen_ports_facts.py
locale_gen.py
lvg.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1839) 2021-02-16 08:46:20 +01:00
lvol.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1839) 2021-02-16 08:46:20 +01:00
make.py added jobs parameter to make module (#1550) 2021-01-16 22:12:45 +01:00
mksysb.py
modprobe.py
nosh.py
ohai.py
open_iscsi.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
openwrt_init.py
osx_defaults.py Mark non-secret leaking module options with no_log=False (#2001) (#2005) 2021-03-12 09:17:05 +01:00
pam_limits.py pam_limits: adds check mode and diff mode (#1575) 2021-01-03 13:32:54 +01:00
pamd.py pamd - fixed bug (#1538) 2021-01-03 11:38:04 +01:00
parted.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1839) 2021-02-16 08:46:20 +01:00
pids.py
puppet.py Deprecation of parameters triggering the parameter-invalid sanity-check (#1927) (#1971) 2021-03-05 08:41:55 +01:00
python_requirements_facts.py
python_requirements_info.py
runit.py Revert "Revert new feature so that we can make a bugfix release. Will re-revert this afterwards." 2021-02-17 22:59:37 +01:00
sefcontext.py
selinux_permissive.py
selogin.py
seport.py
shutdown.py
solaris_zone.py
ssh_config.py ssh_config: new module (#1640) 2021-01-28 07:26:48 +01:00
svc.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
syspatch.py
sysrc.py New sysrc module for managing rc files on FreeBSD (#1460) 2021-01-16 14:14:23 +01:00
sysupgrade.py
timezone.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1839) 2021-02-16 08:46:20 +01:00
ufw.py Fix boolean defaults. (#1343) 2020-11-23 11:14:43 +00:00
vdo.py vdo: add force option (#2110) (#2123) 2021-03-27 15:41:58 +01:00
xfconf.py Applying ModuleHelper variable mgmt to xfconf -> improvements on MH (#2188) (#2191) 2021-04-06 21:51:12 +02:00
xfs_quota.py bugfix: xfs_quota feedback on projects not initialized has changed (#1596) (#1923) 2021-02-27 09:57:58 +01:00