monit: add support for all monit services when checking process state (#1532) (#1578)

* add support for all monit service types

* ignore case when performing check

* add changelog

* Escape special characters before matching

Co-authored-by: Felix Fontein <felix@fontein.de>

* escape each element individually

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit bed1dc479f)

Co-authored-by: Graham Herceg <g.a.herceg@gmail.com>
This commit is contained in:
patchback[bot] 2021-01-03 11:47:54 +00:00 committed by GitHub
commit 4f7d44aa10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 36 additions and 12 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- monit - add support for all monit service checks (https://github.com/ansible-collections/community.general/pull/1532).