63 lines
1.6 KiB
Django/Jinja
63 lines
1.6 KiB
Django/Jinja
= Serveur {{ ansible_hostname|capitalize }} =
|
|
|
|
{% if wiki_doc_intro is defined %}
|
|
{{ wiki_doc_intro }}
|
|
{% endif %}
|
|
== Caractéristiques matérielles ==
|
|
|
|
{% if ansible_form_factor != 'Other' and ansible_form_factor != 'Unknown' %}
|
|
'''Forme du serveur''' :
|
|
{{ ansible_form_factor }}
|
|
|
|
{% endif %}
|
|
'''Matériel''' :
|
|
{{ ansible_system_vendor }} {{ ansible_product_name }}
|
|
|
|
'''Domaine''' :
|
|
{{ ansible_domain }}
|
|
|
|
'''CPU''' :
|
|
{{ ansible_processor_count }} processeur(s)
|
|
avec {{ ansible_processor_cores }} cœur(s)
|
|
divisé(s) en {{ ansible_processor_threads_per_core }} thread(s).
|
|
|
|
'''Mémoire''' :
|
|
{{ (ansible_memory_mb.real.total/1024)|round(1) }} GB de mémoire RAM
|
|
et {{ (ansible_memory_mb.swap.total/1024)|round(1) }} GB de SWAP.
|
|
|
|
=== Stockage ===
|
|
|
|
|| Point de montage || Taille || Disque ||
|
|
{% for m in ansible_mounts %}
|
|
{% if m.fstype == 'ext4' and 'size_total' in m %}
|
|
|| {{ m.mount }} || {{ m.size_total|human_readable(unit='G') }} || {{ m.device }} ||
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
=== Interfaces réseau ===
|
|
|
|
|| Device || IPv4 || IPv6 || MAC ||
|
|
{% for i in ansible_interfaces %}
|
|
{% set interface = vars["ansible_" + i] %}
|
|
{% if interface.active and interface.type == 'ether' and 'ipv4' in interface %}
|
|
|| {{ interface.device }} || {{ interface.ipv4.address }} || {# No newline #}
|
|
{% for ip in interface.ipv6 %}{{ ip.address }} {% endfor %} || {# No newline #}
|
|
{{ interface.macaddress }} ||
|
|
{% endif %}
|
|
{% endfor %}
|
|
|
|
== Caractéristiques logicielles ==
|
|
|
|
'''Système d'exploitation''' :
|
|
{{ ansible_lsb.description }}
|
|
|
|
'''Noyau''' :
|
|
{{ ansible_kernel }}
|
|
|
|
'''BIOS installé''' :
|
|
{{ ansible_bios_version }} datant du {{ ansible_bios_date }}
|
|
|
|
----
|
|
CatégorieCrans CatégorieCrans/LesServeurs
|
|
|