Skip to content

Commit

Permalink
Merge "Collect logs: count avc denials from Undercloud"
Browse files Browse the repository at this point in the history
  • Loading branch information
obaranov authored and gerritforge-ltd committed Jun 6, 2018
2 parents d746853 + e0f2755 commit f652e88
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/collect-logs/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@
selinux_problems_list: []
segfault_problems: 0
oom_killer_problems: 0
counted_hosts: "{{ groups['all'] | difference( groups['local'] + (groups['tester'] | default([]) | difference(groups['controller']|default([]))) ) }}"

# aggregate from all hosts, excluding any nonproduct ones
# non product is localhost and tester nodes (unless they are also UC or controller too)
counted_hosts: "{{ groups['all'] | difference( groups['local'] + (groups['tester'] | default([]) | difference(groups['undercloud']|default([]) + groups['controller']|default([]))) ) }}"
- debug:
msg: "counting issues from hosts: {{ counted_hosts }}"

Expand Down

0 comments on commit f652e88

Please sign in to comment.