Merge branch 'BANS-304' into 'dev_rc-5.2.6'
Fix if-condition for executing logic of virtual image link changing See merge request rudecs/dev/decort-ansible!48
This commit is contained in:
@@ -538,7 +538,7 @@ def main():
|
||||
decon.result['msg'] = ("Cannot find OS image")
|
||||
amodule.fail_json(**decon.result)
|
||||
|
||||
if decon.validated_image_id:
|
||||
if decon.validated_virt_image_id:
|
||||
if decort_osimage.decort_osimage_package_facts(image_facts)['linkto'] != decon.validated_image_id:
|
||||
decort_osimage.decort_virt_image_link(decon,amodule)
|
||||
decon.result['changed'] = True
|
||||
|
||||
Reference in New Issue
Block a user