mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-04 07:51:50 +00:00
[PR #11273/b2f16f18 backport][stable-10] test(integration): monit: backport of PR 11255 (#11274)
test(integration): monit: backport of PR 11255 (#11273)
* test(integration): monit: backport of PR 11255
* add changelog frag
(cherry picked from commit b2f16f184a)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
06c24f1f6a
commit
f5b3f7da24
3 changed files with 13 additions and 0 deletions
|
|
@ -52,6 +52,14 @@
|
|||
name: monit
|
||||
state: restarted
|
||||
|
||||
- name: wait for monit daemon to be responsive after restart
|
||||
command: monit status -B httpd_echo
|
||||
register: monit_status_check
|
||||
changed_when: false
|
||||
until: monit_status_check.rc == 0
|
||||
retries: 10
|
||||
delay: 0.5
|
||||
|
||||
- name: test process present again
|
||||
monit:
|
||||
name: httpd_echo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue