fix for remove idempotent issue (#28226)
This commit is contained in:
parent
8003437ebc
commit
064ab7a92d
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue