mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-24 23:46:32 +00:00
fix for remove idempotent issue (#28226)
This commit is contained in:
@@ -330,7 +330,7 @@ def main():
|
||||
candidate = CustomNetworkConfig(indent=3)
|
||||
if state == 'present':
|
||||
state_present(module, existing, proposed, candidate)
|
||||
elif state == 'absent':
|
||||
elif existing and state == 'absent':
|
||||
state_absent(module, existing, proposed, candidate)
|
||||
|
||||
if candidate:
|
||||
|
||||
Reference in New Issue
Block a user