feat(config): implement diff mode support
This commit is contained in:
parent
13089df638
commit
2ccf139743
1 changed files with 2 additions and 0 deletions
|
@ -222,6 +222,8 @@ def run_module():
|
||||||
old_value = None
|
old_value = None
|
||||||
else:
|
else:
|
||||||
old_value = rc.stdout
|
old_value = rc.stdout
|
||||||
|
if old_value is None and new_value is None:
|
||||||
|
continue
|
||||||
if old_value == v:
|
if old_value == v:
|
||||||
continue
|
continue
|
||||||
result['changed'] = True
|
result['changed'] = True
|
||||||
|
|
Loading…
Reference in a new issue