feat(config): implement diff mode support
This commit is contained in:
parent
2ccf139743
commit
af31cd70f0
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ def run_module():
|
||||||
if rc.returncode == 1:
|
if rc.returncode == 1:
|
||||||
old_value = None
|
old_value = None
|
||||||
else:
|
else:
|
||||||
old_value = rc.stdout
|
old_value = rc.stdout.strip()
|
||||||
if old_value is None and new_value is None:
|
if old_value is None and new_value is None:
|
||||||
continue
|
continue
|
||||||
if old_value == v:
|
if old_value == v:
|
||||||
|
|
Loading…
Reference in a new issue