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
|
||||
else:
|
||||
old_value = rc.stdout
|
||||
if old_value is None and new_value is None:
|
||||
continue
|
||||
if old_value == v:
|
||||
continue
|
||||
result['changed'] = True
|
||||
|
|
Loading…
Reference in a new issue