community.general/lib/ansible/modules/system
Strahinja Kustudic a5b6a161b5 sysctl will now return an error if the value is invalid (#55695)
* sysctl will now return an error if the value is invalid

sysctl can fail to set a value even if it returns an exit status 0. More
details: https://bugzilla.redhat.com/show_bug.cgi?id=1264080. Because of
this in case of an invalid value or a read-only file system, sysctl
module would return OK, even though it didn't set anything. To be sure
that sysctl correctly applied the changes we also need to check the
output of stderr.

* Run sysctl with LANG=C

Because we are parsing sysctl stderr we need to make sure that errors
are persistent across different system language settings.

* Add changelog fragment for sysctl
2019-05-08 11:34:55 -04:00
..
__init__.py
aix_devices.py Fix module issues (#52209) 2019-02-15 12:57:20 +01:00
aix_filesystem.py Fix module issues (#52209) 2019-02-15 12:57:20 +01:00
aix_inittab.py validate-modules: Fix all system modules (#52384) 2019-02-19 15:42:14 +01:00
aix_lvg.py new module: AIX Volume Group creating, resizing, removing (#30381) 2019-02-04 03:30:10 +01:00
aix_lvol.py Fix module issues (#52209) 2019-02-15 12:57:20 +01:00
alternatives.py Fix parameter types and other fixes (#50111) 2019-01-18 03:24:47 +01:00
at.py Fix parameter types and other fixes (#50111) 2019-01-18 03:24:47 +01:00
authorized_key.py Fix module issues (#52209) 2019-02-15 12:57:20 +01:00
awall.py Fix parameter types and other fixes (#50111) 2019-01-18 03:24:47 +01:00
beadm.py Fix incorrect use of `is` for comparisons. 2019-02-12 16:33:13 -08:00
capabilities.py validate-modules: Fix all system modules (#52384) 2019-02-19 15:42:14 +01:00
cron.py Fix tuples to actually be tuples (#52591) 2019-02-19 13:29:51 -06:00
cronvar.py validate-modules: Fix all system modules (#52384) 2019-02-19 15:42:14 +01:00
crypttab.py crypttab: Trim trailing newlines (#51594) 2019-02-22 09:25:23 +00:00
dconf.py Use common functions for handling import errors (#51851) 2019-02-07 16:51:16 -05:00
debconf.py fix non bool path 2019-03-07 11:23:07 -05:00
facter.py
filesystem.py Correct minor typo in filesystem module docs (#52413) 2019-02-17 10:02:32 +05:30
firewalld.py Fix firewalld source option handling to be exclusive (#55715) 2019-05-01 17:47:47 -04:00
gather_facts.py Configurable and parallel gather facts (#49399) 2019-03-08 13:08:37 -05:00
gconftool2.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
getent.py
group.py Add BusyBox support to group module (#54689) 2019-04-02 09:58:04 -04:00
hostname.py Use distro.id() instead of distro.name() (#52199) 2019-03-07 13:25:59 -05:00
interfaces_file.py Add more tests for method option change (#52228) 2019-03-15 09:53:32 +00:00
iptables.py Fix example in iptables module (#54906) 2019-04-05 14:23:59 -05:00
java_cert.py java_cert: Remove redundant return (#52879) 2019-03-13 09:16:19 -04:00
java_keystore.py Sync required flags from argument_spec to docs (#56121) 2019-05-06 16:49:07 -05:00
kernel_blacklist.py
known_hosts.py Revert "Use locking for concurrent file access (#52567)" (#54547) 2019-03-28 13:19:49 -04:00
locale_gen.py correct message to have consistent pluralisation (#36897) 2018-11-26 13:45:38 -05:00
lvg.py Fix module issues (#52209) 2019-02-15 12:57:20 +01:00
lvol.py Used C locale instead of relying on system locale. 2019-03-01 15:22:46 -08:00
make.py validate-modules: Fix all system modules (#52384) 2019-02-19 15:42:14 +01:00
mksysb.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
modprobe.py Fix for the new 2.8 feature to have modprobe check for builtins. 2019-01-07 09:05:50 -08:00
mount.py Last two fields in fstab are optional (fixes #43855) (#43941) 2019-02-28 14:09:30 -05:00
nosh.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
ohai.py
open_iscsi.py validate-modules: Fix all system modules (#52384) 2019-02-19 15:42:14 +01:00
openwrt_init.py Clean up module documentation (#36909) 2018-03-15 22:15:24 +01:00
osx_defaults.py osx_defaults: refactor (#52452) 2019-02-21 14:37:16 +01:00
pam_limits.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
pamd.py pamd: fix idempotence issue when removing rules (#54105) 2019-04-01 10:18:33 -04:00
parted.py Use loop instead of obsolete with_items (#47244) 2019-02-19 12:06:54 -06:00
pids.py pids: case insensitive string comparison for process names (#52564) 2019-03-14 18:27:20 +05:30
ping.py Fix parameter types and other fixes (#50111) 2019-01-18 03:24:47 +01:00
puppet.py validate-modules: Fix all system modules (#52384) 2019-02-19 15:42:14 +01:00
python_requirements_facts.py Fix some module author names (#55770) 2019-04-26 16:11:35 +01:00
reboot.py Clarify documentation an reboot delay paramaters (#55934) 2019-04-30 11:28:33 -05:00
runit.py validate-modules: Fix all system modules (#52384) 2019-02-19 15:42:14 +01:00
seboolean.py Use common functions for handling import errors (#51851) 2019-02-07 16:51:16 -05:00
sefcontext.py validate-modules: Fix all system modules (#52384) 2019-02-19 15:42:14 +01:00
selinux.py validate-modules: Fix all system modules (#52384) 2019-02-19 15:42:14 +01:00
selinux_permissive.py validate-modules: Fix all system modules (#52384) 2019-02-19 15:42:14 +01:00
selogin.py selogin: check_mode, ignore_selinux_state, tests 2019-03-26 17:18:36 -04:00
seport.py validate-modules: Fix all system modules (#52384) 2019-02-19 15:42:14 +01:00
service.py validate-modules: Fix all system modules (#52384) 2019-02-19 15:42:14 +01:00
service_facts.py Provide both service state and status when possible in service_facts (#49618) 2018-12-26 13:24:03 +00:00
setup.py Update setup.py (#55871) 2019-04-29 11:17:50 -05:00
solaris_zone.py validate-modules: Fix all system modules (#52384) 2019-02-19 15:42:14 +01:00
svc.py Fix module issues (#52209) 2019-02-15 12:57:20 +01:00
sysctl.py sysctl will now return an error if the value is invalid (#55695) 2019-05-08 11:34:55 -04:00
systemd.py setup: properly detect is_chroot on Btrfs (#55089) 2019-04-11 11:24:08 +02:00
sysvinit.py Sysvinit - Enabling a service should use "defaults" if no runlevels are specified (#48724) 2018-11-15 09:53:10 -05:00
timezone.py Fix parameter types and other fixes (#50111) 2019-01-18 03:24:47 +01:00
ufw.py ufw: fix default (again) (#55004) 2019-04-11 00:06:53 +02:00
user.py User - Fix shadow file parsing on AIX (#55230) 2019-04-22 15:24:10 -04:00
vdo.py vdo: document versions that have read cache options (#53291) 2019-03-06 14:40:09 -06:00
xfconf.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
xfs_quota.py New module: xfs_quota (#51654) 2019-04-07 20:11:32 +01:00