ansible-labs/070.Delegate/solution/template/report.j2

11 lines
424 B
Text
Raw Permalink Normal View History

2018-08-01 15:50:48 +02:00
<html>
<body>
<table>
<tr><td>FQDN</td><td>OS</td><td>Architecture</td><td>Default IPv4</td></tr>
{% for host in play_hosts | sort %}
<tr><td>{{ hostvars[host]['ansible_fqdn'] }}</td><td>{{ hostvars[host]['ansible_os_family'] }}</td><td>{{ hostvars[host]['ansible_architecture'] }}</td><td>{{ hostvars[host]['ansible_default_ipv4'].address }}</td></tr>
{% endfor %}
</table>
</body>
</html>