mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
ccdea1c3b8
commit
930d5d88b7
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue