add notice for 0 hosts
This commit is contained in:
parent
689e7aa793
commit
fc0b738c75
@ -517,6 +517,9 @@ class IPAAudit:
|
|||||||
for h in hbac_host_dict[hrule]:
|
for h in hbac_host_dict[hrule]:
|
||||||
print(h)
|
print(h)
|
||||||
|
|
||||||
|
if len(hbac_host_dict[hrule]) == 0:
|
||||||
|
print('(No hosts set for this rule)')
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def group_deep_list(api, group):
|
def group_deep_list(api, group):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user