mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
committed by
ansibot
parent
ccdea1c3b8
commit
930d5d88b7
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user