feat(config): implement diff mode support

This commit is contained in:
s3lph 2023-02-08 01:50:02 +01:00
parent 13089df638
commit 2ccf139743
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -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