Merge branch 'BANS-264' into 'rc-5.2.6'

Remove if-condition for check mode from DecortController.disk_find method

See merge request rudecs/dev/decort-ansible!38
rc-5.3.0^2
Алексей Даньков 9 months ago
commit 7f87642b47

@ -2838,12 +2838,6 @@ class DecortController(object):
DISK_INVALID_STATES = ["MODELED", "CREATING", "DELETING", "DESTROYING"]
if self.amodule.check_mode:
self.result['failed'] = False
self.result['msg'] = "disk_find() in check mode: find Disk ID {} / name '{}' was requested.".format(disk_id,
name)
return
ret_disk_id = 0
ret_disk_facts = None

Loading…
Cancel
Save