community.general/lib/ansible/modules
Björn Andersson + SU Sheng Loong 469bf9ebd0 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.
2016-12-08 11:33:38 -05:00
..
.github Update pull request template to provide context 2016-12-08 11:25:32 -05:00
cloud Resolving differences in core modules post-merge 2016-12-08 11:25:36 -05:00
commands Resolving differences in core modules post-merge 2016-12-08 11:25:36 -05:00
database Resolving differences in core modules post-merge 2016-12-08 11:25:36 -05:00
extras monit: Add retry for pending/initializing services 2016-12-08 11:33:38 -05:00
files Resolving differences in core modules post-merge 2016-12-08 11:25:36 -05:00
inventory Refreshed metadata for core modules 2016-12-08 11:25:35 -05:00
network Resolving differences in core modules post-merge 2016-12-08 11:25:36 -05:00
packaging Resolving differences in core modules post-merge 2016-12-08 11:25:36 -05:00
source_control Refreshed metadata for core modules 2016-12-08 11:25:35 -05:00
system Resolving differences in core modules post-merge 2016-12-08 11:25:36 -05:00
test/utils/shippable Simplify compileall checks. Remove py3 skip list. 2016-12-08 11:25:26 -05:00
utilities Refreshed metadata for core modules 2016-12-08 11:25:35 -05:00
web_infrastructure Refreshed metadata for core modules 2016-12-08 11:25:35 -05:00
windows Resolving differences in core modules post-merge 2016-12-08 11:25:36 -05:00