ansible/system
Christian Schwarz 635c37cec6 system/service.py: fix false-positive service enablement on FreeBSD. (#4283)
sysrc(8) does not exit with non-zero status when encountering a
permission error.

By using service(8) `service <name> enabled`, we now check the actual
semantics expressed through calling sysrc(8), i.e. we check if the
service enablement worked from the rc(8) system's perspective.

Note that in case service(8) detects the wrong value is still set,
we still output the sysrc(8) output in the fail_json() call:
the user can derive the exact reason of failure from sysrc(8) output.
2016-08-01 13:35:39 -04:00
..
__init__.py package files 2014-09-26 11:05:47 -04:00
authorized_key.py better authorized_keys documentation (#3739) 2016-07-12 08:52:00 -04:00
cron.py Clarify behaviour when state=present and no name is given (#3904) 2016-06-10 13:03:01 -04:00
group.py Fix incorrect variable in group.py: user -> group 2015-10-03 01:09:03 +01:00
hostname.py Port hostname to a py24 and py3 compatible syntax (#3676) 2016-05-17 10:21:26 -07:00
mount.py Proposed fix to not require src and fstype arguments for mount. Issue #1259. (#1357) 2016-05-23 11:20:10 -04:00
ping.py Port to dual python2/python3 compat 2016-05-10 21:58:49 -07:00
seboolean.py Port seboolean to py3/py2.4 syntax (#3679) 2016-05-17 10:23:06 -07:00
selinux.py Proper author info for all remaining modules 2015-06-15 15:53:30 -04:00
service.py system/service.py: fix false-positive service enablement on FreeBSD. (#4283) 2016-08-01 13:35:39 -04:00
setup.py add gather_timeout parameter (#4093) 2016-07-08 17:22:05 -04:00
sysctl.py Showing some of the sysctl settings in proper yaml format per Ansible documentation (#4073) 2016-06-30 19:27:41 -04:00
systemd.py make daemon reload first thing always run 2016-07-05 08:55:19 -04:00
user.py Do not ignore the primary group if modifying the list of secondary groups. (#3585) 2016-05-19 22:37:57 -04:00