mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* Fix #24375 Add check to identify if diff is empty
This commit is contained in:
parent
d072d91aed
commit
4186b07d21
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ def main():
|
|||
|
||||
else:
|
||||
diff = configure_device(module, warnings)
|
||||
if diff is not None:
|
||||
if diff:
|
||||
if module._diff:
|
||||
result['diff'] = {'prepared': diff}
|
||||
result['changed'] = True
|
||||
|
|
Loading…
Reference in a new issue