Merge branch 'BANS-321' into 'dev_rc-5.2.6'

Fix if-condition for rg_name parameter check

See merge request rudecs/dev/decort-ansible!50
rc-5.3.0^2
commit 2b09b9449a

@ -75,7 +75,7 @@ class decort_lb(DecortController):
elif arg_amodule.params['account_id'] or arg_amodule.params['account_name'] != "": elif arg_amodule.params['account_id'] or arg_amodule.params['account_name'] != "":
if arg_amodule.params['rg_name']: if not arg_amodule.params['rg_name']:
self.result['failed'] = True self.result['failed'] = True
self.result['msg'] = ("RG name must be specified with account present") self.result['msg'] = ("RG name must be specified with account present")
self.amodule.fail_json(**self.result) self.amodule.fail_json(**self.result)

Loading…
Cancel
Save