069d37eee1
Change-Id: I203944c1f172d5ee395e13ea11945a342628baac
29 lines
832 B
Django/Jinja
29 lines
832 B
Django/Jinja
# Browbeat generated bug report
|
|
{% for host in groups['controller'] %}
|
|
---------------------------------------
|
|
| Issues for host : {{ host }}
|
|
---------------------------------------
|
|
{% for check in hostvars[host]['checks'] %}
|
|
{% if hostvars[host][check]['failed'] == true %}
|
|
Bug: {{ check }}
|
|
Name: {{ hostvars[host]['checks'][check]['name'] }}
|
|
URL: {{ hostvars[host]['checks'][check]['url'] }}
|
|
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
|
|
{% for host in groups['compute'] %}
|
|
---------------------------------------
|
|
| Issues for host : {{ host }}
|
|
---------------------------------------
|
|
{% for check in hostvars[host]['checks'] %}
|
|
{% if hostvars[host][check]['failed'] == true %}
|
|
Bug: {{ check }}
|
|
Name: {{ hostvars[host]['checks'][check]['name'] }}
|
|
URL: {{ hostvars[host]['checks'][check]['url'] }}
|
|
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|