diff --git a/playbooks/files/redfish.py b/playbooks/files/redfish.py index d239b31..c52f6e5 100755 --- a/playbooks/files/redfish.py +++ b/playbooks/files/redfish.py @@ -14,7 +14,7 @@ print(' ') else: bmc = item.strip().split(' ') - if len(bmc) > 6: + if len(bmc) > 8: host = bmc[6] user = bmc[7] pas = bmc[8]