diff --git a/roles/moinmoin-gendoc/templates/server.j2 b/roles/moinmoin-gendoc/templates/server.j2 index cafa85a67bb96086ab5d604bbbf771433662253f..f9aed6ee4e625447f438071b83adf3f5dbdd201f 100644 --- a/roles/moinmoin-gendoc/templates/server.j2 +++ b/roles/moinmoin-gendoc/templates/server.j2 @@ -18,7 +18,7 @@ || '''Socket''' || '''Nombre de cœur(s)''' || '''Nombre de thread(s)''' || '''Modèle''' || {% for m in processor.values() %} -{% if m.data["Asset Tag"] %} +{% if m.data["Thread Count"] %} || {{ m.data["Socket Designation"] }} || {{ m.data["Core Count"] }} || {{ m.data["Thread Count"] }} || {{ m.data["Version"] }} || {% endif %} {% endfor %} @@ -35,12 +35,14 @@ et {{ (ansible_memory_mb.swap.total/1024)|round(1) }} GiB de SWAP. {% endif %} {% endfor %} +{% if slot %} === Cartes PCI === -|| '''Emplacement''' || '''Taille du bus''' || +|| '''Emplacement''' || '''Taille du bus''' || '''Utilisé''' || {% for m in slot.values() %} -|| {{ m.data["Designation"] }} || {{ m.data["Type:SlotType"] }} {{ m.data["Type:SlotBusWidth"] }} || +|| {{ m.data["Designation"] }} || {{ m.data["Type:SlotType"] }} || {{ m.data["Current Usage"] }} || {% endfor %} +{% endif %} === Stockage ===