Add ability to disable services

This commit is contained in:
Tobias Reisinger 2025-04-18 13:43:50 +02:00
parent a7a8d17186
commit b3f9c69b93
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 9 additions and 2 deletions

View file

@ -87,6 +87,8 @@ def parse_services(services, hosts):
for host in hosts.keys():
data["host"] = host
result.append(parse_service(svc, data, hosts))
elif not data["host"]:
continue
else:
result.append(parse_service(svc, data, hosts))