10 lines
438 B
Plaintext
10 lines
438 B
Plaintext
|
{{ "%-20s" % "Hostname" }} - {{ "%-20s" % "Distribution" }} - {{ "%-15s" % "OS family" }} - {{ "%-10s" % "MajorVer" }} - {{ "%-10s" % "Version" }}
|
||
|
{% for h in hostvars %}
|
||
|
{{ "%-20s" % h }} - {{ "%-20s" % hostvars[h]['ansible_distribution']
|
||
|
}} - {{ "%-15s" % hostvars[h]['ansible_os_family']
|
||
|
}} - {{ "%-10s" % hostvars[h]['ansible_distribution_major_version']
|
||
|
}} - {{ "%-10s" % hostvars[h]['ansible_distribution_version']
|
||
|
}}
|
||
|
{% endfor %}
|
||
|
|