feat(config): implement diff mode support

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

View file

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