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/plugins/modules/system
patchback[bot] 0fbb0039b1
java_keystore: improve error handling and returned results (#2183) (#2226)
* 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:34 +02:00
..
aix_devices.py Tidy up validate-modules:doc-required-mismatch (#1415) (#1417) 2020-11-28 15:41:36 +01:00
aix_filesystem.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
aix_inittab.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
aix_lvg.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
aix_lvol.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
alternatives.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1840) 2021-02-16 08:58:51 +01:00
awall.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
beadm.py rewritten as list literals (#2160) (#2167) 2021-04-05 09:50:08 +02:00
capabilities.py [capabilities] fix for a newer versions of libcap (#1061) (#1110) 2020-10-16 21:23:43 +02:00
cronvar.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1840) 2021-02-16 08:58:51 +01:00
crypttab.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
dconf.py [PR #2001/1ea08076 backport][stable-1] Mark non-secret leaking module options with no_log=False (#2004) 2021-03-12 09:37:23 +01:00
dpkg_divert.py Add version_added for all new features (#214) 2020-06-13 15:01:19 +02:00
facter.py Added Arguments for Facter module (#768) (#1367) 2020-11-23 19:22:51 +01:00
filesystem.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1840) 2021-02-16 08:58:51 +01:00
gconftool2.py [PR #2001/1ea08076 backport][stable-1] Mark non-secret leaking module options with no_log=False (#2004) 2021-03-12 09:37:23 +01:00
interfaces_file.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1840) 2021-02-16 08:58:51 +01:00
iptables_state.py iptables_state: fix race condition between module and its action plugin (#1140) (#1143) 2020-10-20 22:46:12 +02:00
java_cert.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1840) 2021-02-16 08:58:51 +01:00
java_keystore.py java_keystore: improve error handling and returned results (#2183) (#2226) 2021-04-12 22:13:34 +02:00
kernel_blacklist.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
launchd.py launchd: Handle deprecated APIs in plistlib (#1554) (#1563) 2020-12-30 09:00:33 +01:00
lbu.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
listen_ports_facts.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
locale_gen.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
lvg.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1840) 2021-02-16 08:58:51 +01:00
lvol.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1840) 2021-02-16 08:58:51 +01:00
make.py changed make parameter from --question to -q (#1574) (#1581) 2021-01-03 13:55:58 +01:00
mksysb.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
modprobe.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
nosh.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
ohai.py Fix M(). (#591) 2020-06-29 14:59:15 +02:00
open_iscsi.py Fix boolean defaults. (#1343) (#1358) 2020-11-23 12:29:14 +01:00
openwrt_init.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
osx_defaults.py [PR #2001/1ea08076 backport][stable-1] Mark non-secret leaking module options with no_log=False (#2004) 2021-03-12 09:37:23 +01:00
pam_limits.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
pamd.py pamd - fixed bug (#1538) (#1579) 2021-01-03 11:48:07 +00:00
parted.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1840) 2021-02-16 08:58:51 +01:00
pids.py modules: fix examples to use FQCN for builtin modules (#648) 2020-07-14 18:28:08 +03:00
puppet.py Fix boolean defaults. (#1343) (#1358) 2020-11-23 12:29:14 +01:00
python_requirements_facts.py Initial commit 2020-03-09 09:11:07 +00:00
python_requirements_info.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
runit.py Tidy up validations + bug fixes + deprecations (#1830) (#1846) 2021-02-17 07:16:16 +01:00
sefcontext.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
selinux_permissive.py modules: fix examples to use FQCN (#644) 2020-07-13 21:50:31 +02:00
selogin.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
seport.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
shutdown.py New module: shutdown (#700) 2020-08-18 08:29:38 +02:00
solaris_zone.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
svc.py Fix boolean defaults. (#1343) (#1358) 2020-11-23 12:29:14 +01:00
syspatch.py Enabling validation-modules for system modules (#1212) (#1225) 2020-11-04 09:21:51 +01:00
sysupgrade.py sysupgrade: new module (#341) 2020-08-18 09:11:48 +02:00
timezone.py Tidy up all pylint:blacklisted-name ignore lines (#1819) (#1840) 2021-02-16 08:58:51 +01:00
ufw.py Fix boolean defaults. (#1343) (#1358) 2020-11-23 12:29:14 +01:00
vdo.py fixed Python 3 keys() usage (#1861) (#1890) 2021-02-23 23:48:28 +01:00
xfconf.py [stable-1] xfconf - state absent was not honoring check_mode (#2185) (#2187) 2021-04-07 10:20:30 +02:00
xfs_quota.py bugfix: xfs_quota feedback on projects not initialized has changed (#1596) (#1922) 2021-02-27 09:57:55 +01:00