Skip to content

Commit

Permalink
Fancy template: Show ansible error message for hosts with missing inf…
Browse files Browse the repository at this point in the history
…ormation.
  • Loading branch information
fboender committed Jul 5, 2015
1 parent 1817349 commit e38eb2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/html_fancy.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ Display columns:
% if 'ansible_facts' not in host:
<a name="${host['name']}"><h2 id="${host['name']}">${host['name']}</h2></a>
<p>No host information collected</p>
% if 'msg' in host:
<p class="error">${host['msg']}</p>
% endif
% else:
<a name="${host['name']}"><h2 id="${host['name']}">${host['name']}</h2></a>
<h3>General</h3>
Expand Down

0 comments on commit e38eb2b

Please sign in to comment.