From af31cd70f0ca8cf1e07e50c878895378b5f56aa3 Mon Sep 17 00:00:00 2001 From: s3lph Date: Wed, 8 Feb 2023 01:54:51 +0100 Subject: [PATCH] feat(config): implement diff mode support --- 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 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: