Keep the diff even when running in check mode so we can tell if there is a diff or changed is true. (#27713)
This commit is contained in:
parent
8f4b13de73
commit
bdccc2df3c
1 changed files with 0 additions and 1 deletions
|
@ -139,7 +139,6 @@ def load_config(module, commands, warnings, commit=False, replace=False, comment
|
||||||
cmd += ' comment {0}'.format(comment)
|
cmd += ' comment {0}'.format(comment)
|
||||||
else:
|
else:
|
||||||
cmd = 'abort'
|
cmd = 'abort'
|
||||||
diff = None
|
|
||||||
|
|
||||||
rc, out, err = exec_command(module, cmd)
|
rc, out, err = exec_command(module, cmd)
|
||||||
if rc != 0:
|
if rc != 0:
|
||||||
|
|
Loading…
Reference in a new issue