ansible/library
Rune Kaagaard 27ab2e55d3 Service mod.: Proper(?) handling of return code 69
This adds "69" to the return codes from the status command that should be
considered as not running. At least "django-celery" uses this return code,
maybe others::

    /venv/bin/python /code/project/manage.py celeryctl status
    echo $? # 69 when not running.

A bit of googling let me to http://tldp.org/LDP/abs/html/exitcodes.html and
on a Ubuntu Server 12.10 I get::

    ~# cat /usr/include/sysexits.h | grep 69
    #define EX_UNAVAILABLE	69	/* service unavailable */

I'm not sure if the content of sysexits.h is the same on other OS'es.
2013-01-17 10:13:05 +01:00
..
add_host add add_host action plugin - add hosts to inventory during a playbook 2012-11-09 00:16:17 -05:00
apt Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
apt_repository Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
assemble DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
async_status do not conditionalize this for older Python, fix indentation, better use 2012-12-17 21:07:36 +01:00
async_wrapper chmod -x for all module files in source checkout 2012-11-19 13:47:40 -05:00
authorized_key Add check for multiple keys in one invocation 2013-01-13 15:16:13 +01:00
command Various cleanup to run_command 2013-01-13 11:24:21 -08:00
copy chmod -x for all module files in source checkout 2012-11-19 13:47:40 -05:00
cron Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
debug DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
easy_install Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
ec2 Fix indentation 2013-01-10 16:21:18 +01:00
facter Various cleanup to run_command 2013-01-13 11:24:21 -08:00
fail DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
fetch DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
file Fix behaviour when file handles a path with tilde 2013-01-07 16:30:29 +10:00
fireball Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
get_url DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
git Various cleanup to run_command 2013-01-13 11:24:21 -08:00
group Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
group_by Add a group_by action plugin. 2012-10-29 13:10:23 +01:00
ini_file ini_file: prohibit section name 'default' 2012-11-27 13:21:48 +01:00
lineinfile Clarify that lineinfile uses Python regexes. 2012-12-20 11:41:45 -05:00
mail mail module: add MIME attachments, port and addresses with phrases 2012-12-12 07:42:42 +01:00
mount Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
mysql_db Python 2.4 fixes for modules 2013-01-10 19:24:23 +01:00
mysql_user chmod -x for all module files in source checkout 2012-11-19 13:47:40 -05:00
nagios added support for scheduling downtime for all services on host 2012-12-03 22:40:27 +01:00
ohai Various cleanup to run_command 2013-01-13 11:24:21 -08:00
pause Reformat code: examples consistently 2012-10-23 15:14:01 +02:00
ping DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
pip Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
postgresql_db add encoding documentation in postgresql_db 2013-01-07 12:58:18 +01:00
postgresql_user remove quotes in has_table_privilege and has_database_privilege 2013-01-05 19:31:31 +01:00
raw Merge pull request #1798 from dagwieers/raw-executable 2013-01-08 08:35:08 -08:00
script Make script module use raw module so it does not require python 2012-12-24 00:24:34 +01:00
seboolean DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
selinux DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
service Service mod.: Proper(?) handling of return code 69 2013-01-17 10:13:05 +01:00
setup Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
shell DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
slurp DOCUMENTATION strings 2012-11-21 18:49:30 +01:00
subversion Various cleanup to run_command 2013-01-13 11:24:21 -08:00
supervisorctl Various cleanup to run_command 2013-01-13 11:24:21 -08:00
svr4pkg Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
template Added additional template variables 2013-01-04 16:36:02 +10:00
user Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00
virt chmod -x for all module files in source checkout 2012-11-19 13:47:40 -05:00
wait_for removed env as per project policy 2012-11-27 11:18:46 -05:00
yum Update modules to use run_command in module_common.py 2013-01-13 08:37:19 -08:00