mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
* Fix #24375 Add check to identify if diff is empty
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user