Show only fist processor

This commit is contained in:
phil 2023-06-29 08:43:26 +02:00
parent 69c94cec6b
commit e5c7908e49

View file

@ -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] }}