Commit graph

10 commits

Author SHA1 Message Date
Björn Andersson + SU Sheng Loong
f8fe5a2fcd monit: Add retry for pending/initializing services
If there are already ongoing actions for a process managed by monit, the
module would exit unsuccessfully. It could also give off false positives
because it did not determine whether the service was started/stopped
when it was in a pending state. Which might be turning the service off,
but the action was to start it.

For example "Running - pending stop" would be regarded as the service
running and "state=enabled" would do nothing.

This will make Ansible wait for the state to finalize, or a timeout decided
by the new `max_retries` option, before it decides what to do.

This fixes issue #244.
2015-11-29 22:21:38 +08:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Lorenzo Luconi Trombacchi
51b11fd1af status function was called twice 2015-06-16 11:33:10 -04:00
Lorenzo Luconi Trombacchi
16db10958b fix a problem with status detection after unmonitor command 2015-06-16 11:33:10 -04:00
Lorenzo Luconi Trombacchi
2bcb0d4c08 added lower function for statuses 2015-06-16 11:33:10 -04:00
Brian Coca
bceeba224f fix doc parsing by correctly quoting author 2015-05-14 09:19:24 -04:00
Greg DeKoenigsberg
396b9d921a Add 2015-05-13 15:35:25 -04:00
Rob White
13285765a8 Keep 'process' lowercase to protect against upstream changes 2015-01-22 11:26:00 +11:00
Rob White
0f45029827 Changed status() to be case-sensitive of process 2015-01-22 11:01:33 +11:00
Michael DeHaan
b1e789968b File extensions! 2014-09-26 10:40:16 -04:00
Renamed from monitoring/monit (Browse further)