aboutsummaryrefslogtreecommitdiffstats
path: root/resources/template/system-info.j2
blob: 305a2af25c45d58183f39cc2ca837e86762ca3b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
System Information from inxi
============================

{% for host in groups['compute'] %}
{{ hostvars[host].ansible_hostname }}
-----------------------------

{{ ('CPU Brand', hostvars[host].system_info.cpu[0])|justify }}
{{ ('Disk', hostvars[host].system_info.disk[0])|justify }}
{{ ('Host Name', hostvars[host].system_info.hostname[0])|justify }}
{{ ('Kernel', hostvars[host].system_info.kernel[0])|justify }}
{{ ('Memory', hostvars[host].system_info.memory[0])|justify }}
{{ ('Operating System', hostvars[host].system_info.os[0])|justify }}
{{ ('Product', hostvars[host].system_info.product[0])|justify }}

{% endfor %}