Health check skip
This commit is contained in:
parent
edca331b7b
commit
06c4d10ca2
@ -216,6 +216,10 @@ class ActionModule(ActionBase):
|
||||
continue
|
||||
upstream = loaded_data.get("upstream")
|
||||
upstream_config = loaded_data.get("upstream_config")
|
||||
if not uptime_raw_config.get('skip', False):
|
||||
health_uri = "/" + uptime_raw_config.get("endpoint", "")
|
||||
else:
|
||||
health_uri = None
|
||||
|
||||
if state == "present":
|
||||
results['sites_config'].append({
|
||||
@ -225,7 +229,7 @@ class ActionModule(ActionBase):
|
||||
"protected": protected,
|
||||
"whitelist_local": whitelist_local,
|
||||
"tls_cert_dir": tls_cert_dir,
|
||||
"health_uri": "/" + uptime_raw_config.get("endpoint", "")
|
||||
"health_uri": health_uri
|
||||
})
|
||||
|
||||
if not dns.get("skip", False):
|
||||
|
Loading…
Reference in New Issue
Block a user