diff --git a/library/system/open_iscsi b/library/system/open_iscsi index 3fd2b1a5a2..c661a723d7 100644 --- a/library/system/open_iscsi +++ b/library/system/open_iscsi @@ -162,6 +162,8 @@ def target_loggedon(module, target): if rc == 0: return target in out + elif rc == 21: + return False else: module.fail_json(cmd=cmd, rc=rc, msg=err)