mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-14 04:41:27 +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.