From e5c7908e49af6fe5f6effe0531784abf4fb20715 Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 29 Jun 2023 08:43:26 +0200 Subject: [PATCH] Show only fist processor --- templates/section_general.txt.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/section_general.txt.j2 b/templates/section_general.txt.j2 index 7180b34..68ae009 100644 --- a/templates/section_general.txt.j2 +++ b/templates/section_general.txt.j2 @@ -6,4 +6,4 @@ * Architecture: ''{{ ansible_machine }}'' * RAM: ''{{ (ansible_memtotal_mb / 1024) | round(2) }} GB'' * CPU: {{ ansible_processor_vcpus }} calc units ({{ ansible_processor_count }} processors with {{ ansible_processor_cores }} cores and {{ ansible_processor_threads_per_core }} threads/core) - * CPU model: {% for line in ansible_processor %}{% if loop.index is not divisibleby 2 %}{{ line }}, {% endif %}{% endfor %} + * CPU model: {{ ansible_processor[2] }}