diff --git a/plugins/modules/config.py b/plugins/modules/config.py index 1504394..3e96d85 100644 --- a/plugins/modules/config.py +++ b/plugins/modules/config.py @@ -221,7 +221,7 @@ def run_module(): if rc.returncode == 1: old_value = None else: - old_value = rc.stdout + old_value = rc.stdout.strip() if old_value is None and new_value is None: continue if old_value == v: