14 lines
559 B
HTML
Executable file
14 lines
559 B
HTML
Executable file
<html>
|
|
<body>
|
|
{% for host in play_hosts | sort %}
|
|
<h3>Report: {{hostvars[host]['ansible_hostname']}}</h3>
|
|
<table>
|
|
<tr><td>hostname</td><td>{{hostvars[host]['ansible_hostname']}}</td></tr>
|
|
<tr><td>OS</td><td>{{hostvars[host]['ansible_distribution']}}</td></tr>
|
|
<tr><td>architecture</td><td>{{hostvars[host]['ansible_architecture']}}</td></tr>
|
|
<tr><td>role</td><td>{{hostvars[host]['role']}}</td></tr>
|
|
<tr><td>uptime_cmd</td><td>{{hostvars[host]['uptime']}}</td></tr>
|
|
</table>
|
|
{% endfor %}
|
|
</body>
|
|
</html>
|