mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
The variable diff is only assigned if state is 'present', else the variable is unused. But the module will return the diff variable as a return value. If the state isn't 'present' the module will fail with an python UnboundLocalError exception.