diff --git a/plugins/action/load_haproxy_config.py b/plugins/action/load_haproxy_config.py index 883fbde..8658d51 100644 --- a/plugins/action/load_haproxy_config.py +++ b/plugins/action/load_haproxy_config.py @@ -198,6 +198,7 @@ class ActionModule(ActionBase): filepath = path.join(root_dir, filename) if not stop_iter and not failed: if path.exists(filepath): + loaded_data = {} failed, err_msg, loaded_data = self._load_files(filepath) if not failed: main_hostname = Path(filepath).stem