mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
c6db4e8fa3
When running the service module via sudo, `$PATH` didn't contain `/sbin`, so the service binary couldn't be found. This just runs `/sbin/service` directly. Output is spewed to stderr on error. Added `list=status` to include the output of `service <cmd> status`. |
||
---|---|---|
.. | ||
apt | ||
async_status | ||
async_wrapper | ||
command | ||
copy | ||
facter | ||
failtest | ||
fetch | ||
file | ||
git | ||
group | ||
ohai | ||
ping | ||
service | ||
setup | ||
shell | ||
slurp | ||
template | ||
user | ||
virt | ||
yum |