mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 19:32:47 +00:00
digital_ocean_domain: fix do not fail if domain already is absent (#40446)
This commit is contained in:
@@ -168,7 +168,7 @@ def core(module):
|
||||
|
||||
elif state == 'absent':
|
||||
if not domain:
|
||||
module.fail_json(changed=False, msg="Domain not found")
|
||||
module.exit_json(changed=False, msg="Domain not found")
|
||||
else:
|
||||
delete_event = do_manager.destroy_domain()
|
||||
if not delete_event:
|
||||
|
||||
Reference in New Issue
Block a user