From 410f61f5ffd44bf656c2e8eb928bc7908fd89efb Mon Sep 17 00:00:00 2001 From: s3lph Date: Tue, 7 Feb 2023 21:55:36 +0100 Subject: [PATCH] fix(config): variable name --- plugins/modules/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/config.py b/plugins/modules/config.py index 63d32f3..f096f2c 100644 --- a/plugins/modules/config.py +++ b/plugins/modules/config.py @@ -93,7 +93,7 @@ def iter_system(module, tree=None, value=None): changed = False # Recursively iterate the options tree for k, v in value.items(): - sublist = tree + [k] + subtree = tree + [k] if isinstance(v, dict): changed = changed or iter_system(module, subtree, v) continue