diff --git a/plugins/action/load_haproxy_config.py b/plugins/action/load_haproxy_config.py index 68e1aa3..78b5d5b 100644 --- a/plugins/action/load_haproxy_config.py +++ b/plugins/action/load_haproxy_config.py @@ -266,7 +266,7 @@ class ActionModule(ActionBase): "target": this_dns_target, "state": this_state }) - if not this_uptime_raw_config.get('skip', uptime_raw_config.get('skip', False)): + if not this_uptime_raw_config.get('skip', False): results['uptime_config'].append({ "name": full_domain, "url": 'https://{0}/{1}'.format(full_domain, this_uptime_raw_config.get("endpoint", "")),