This commit is contained in:
Michael Overmeyer 2017-08-18 15:16:06 -04:00 committed by ansibot
parent ccdea1c3b8
commit 930d5d88b7

View file

@ -190,7 +190,7 @@ class CobblerInventory(object):
if this_dns_name is not None and this_dns_name is not "":
dns_name = this_dns_name
if dns_name == '':
if dns_name == '' or dns_name is None:
continue
status = host['status']