mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 07:01:22 -07:00
Don't update image properties if we're deleting
This commit is contained in:
parent
a4e4dbd863
commit
8958deeb02
1 changed files with 6 additions and 6 deletions
|
@ -175,7 +175,7 @@ def main():
|
|||
ramdisk=module.params['ramdisk'],
|
||||
**module.params['properties'])
|
||||
|
||||
if module.params['state'] == 'absent':
|
||||
elif module.params['state'] == 'absent':
|
||||
if not image:
|
||||
module.exit_json(changed=False, result="success")
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue