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/library
Stephen Fromm 19c0202aaf Ignore failure of stop command if start succeeds with state=restarted
In some cases (see issue #1067) with state=restarted, a failure to stop
the service (which wasn't running) would appear to the module to be a
failure to restart the service even though it successfully started the
service.  This changes the behavior of the service module to focus
on the return code of the start command.  If the rc of stop is not
0 and the rc of start does equal 0, it considers the service
successfully restarted.  It then ignores the rc, stdout, and stderr
from the unsuccessful stop command.
2012-09-25 22:51:13 -07:00
..
apt Fix invalid usage or fail_json in apt module 2012-08-18 19:43:45 -04:00
apt_repository Merge branch 'binpath' of https://github.com/sfromm/ansible into devel 2012-08-30 19:24:09 -04:00
assemble backuplocal => backup_local for API standardization reasons 2012-09-04 19:49:49 -04:00
async_status Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library 2012-08-11 12:35:58 -04:00
async_wrapper whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added 2012-08-06 20:07:02 -04:00
authorized_key whitespace + remove deprecated YAML parser (migration script lives in examples/scripts and warning was added 2012-08-06 20:07:02 -04:00
command Add support to removes control param 2012-09-05 14:06:47 +03:00
copy time is what i wanted, not gmtime 2012-09-12 14:52:54 -04:00
easy_install Add option required=(True|False) to get_bin_path and update modules 2012-08-30 11:01:37 -07:00
facter Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library 2012-08-11 12:35:58 -04:00
fetch Setup module no longer saves to disk, as templates are mostly useful in playbooks and this allows lots of simplifications 2012-07-14 11:59:12 -04:00
file Tweak DOCUMENTATION YAML as per latest 991 2012-09-19 16:09:26 +02:00
get_url Tweak DOCUMENTATION YAML as per latest 991 2012-09-19 16:09:26 +02:00
git User-expand the destination path of the git module 2012-09-21 19:20:05 +02:00
group Add option required=(True|False) to get_bin_path and update modules 2012-08-30 11:01:37 -07:00
lineinfile Added DOCUMENTATION to lineinfile module 2012-09-19 22:29:11 +02:00
mount fixed missing module argument for mount module 2012-08-13 15:20:36 -04:00
mysql_db Added login_unix_socket option to mysql_db module 2012-08-03 12:34:55 +02:00
mysql_user Added login_unix_socket option to mysql_user module 2012-08-03 12:35:18 +02:00
nagios Change from a module config file to brute force locating the nagios configs so we can find the command file. 2012-08-28 02:16:07 -04:00
ohai Make pep8 tests run against the library directory as well, and associated tweaks (mostly to indentation) in the library 2012-08-11 12:35:58 -04:00
ping Add encoding lines to python modules such that they can take unicode options if they are fed them, since the 2012-08-02 21:29:10 -04:00
pip Add option required=(True|False) to get_bin_path and update modules 2012-08-30 11:01:37 -07:00
postgresql_db added support for custom port definition 2012-09-05 18:18:30 +02:00
postgresql_user Fix postgresql_user bug 2012-09-07 16:24:00 -04:00
raw Tweak DOCUMENTATION YAML as per latest 991 2012-09-19 16:09:26 +02:00
seboolean chmod +x 2012-08-30 19:43:14 -04:00
selinux chmod +x 2012-08-30 19:43:14 -04:00
service Ignore failure of stop command if start succeeds with state=restarted 2012-09-25 22:51:13 -07:00
setup Tweak DOCUMENTATION YAML as per latest 991 2012-09-19 16:09:26 +02:00
shell Add module common code to allow it to be easier to indicate whether arguments are mutually exclusive, required in conjunction, or whether one of a list of arguments is required. This simplifies writing Python modules. 2012-08-11 18:13:29 -04:00
slurp Add encoding lines to python modules such that they can take unicode options if they are fed them, since the 2012-08-02 21:29:10 -04:00
subversion Subversion dest should allow ~ expansion 2012-09-04 10:15:13 +10:00
supervisorctl Use get_bin_path properly 2012-08-31 15:03:26 -04:00
template Setup module no longer saves to disk, as templates are mostly useful in playbooks and this allows lots of simplifications 2012-07-14 11:59:12 -04:00
user Add option required=(True|False) to get_bin_path and update modules 2012-08-30 11:01:37 -07:00
virt add import sys to virt module b/c it needs it if the libvirt python 2012-09-07 16:05:42 -04:00
wait_for Fix on older python versions, plus various improvements 2012-09-19 15:19:59 +02:00
yum Invoke is_installed correctly from rpm path 2012-09-13 12:34:52 +02:00