Skip to content

Commit f652e88

Browse files
obaranovgerritforge-ltd
authored andcommitted
Merge "Collect logs: count avc denials from Undercloud"
2 parents d746853 + e0f2755 commit f652e88

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

plugins/collect-logs/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@
3939
selinux_problems_list: []
4040
segfault_problems: 0
4141
oom_killer_problems: 0
42-
counted_hosts: "{{ groups['all'] | difference( groups['local'] + (groups['tester'] | default([]) | difference(groups['controller']|default([]))) ) }}"
43-
42+
# aggregate from all hosts, excluding any nonproduct ones
43+
# non product is localhost and tester nodes (unless they are also UC or controller too)
44+
counted_hosts: "{{ groups['all'] | difference( groups['local'] + (groups['tester'] | default([]) | difference(groups['undercloud']|default([]) + groups['controller']|default([]))) ) }}"
4445
- debug:
4546
msg: "counting issues from hosts: {{ counted_hosts }}"
4647

0 commit comments

Comments
 (0)