Add ability to disable services
This commit is contained in:
parent
a7a8d17186
commit
b3f9c69b93
4 changed files with 9 additions and 2 deletions
playbooks/filter_plugins
|
@ -72,6 +72,7 @@ class FilterModule(object):
|
|||
|
||||
new_endpoint = {
|
||||
"name": name,
|
||||
"enabled": bool(service.get("host")),
|
||||
"group": mon.get("group"),
|
||||
"url": url,
|
||||
"conditions": conditions,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue