Fixed formating error

This commit is contained in:
Sven Velt 2024-07-10 14:50:54 +02:00
parent b84363062e
commit 25d3363a39

View file

@ -3,7 +3,8 @@
* Product: **{{ ansible_system_vendor|default("N/A") }}** {{ ansible_product_name|default("N/A") }} (S/N: {{ ansible_product_serial|default("N/A") }}), {{ ansible_form_factor|default("N/A") }}
* Virtualization: {{ ansible_virtualization_role }} / {{ ansible_virtualization_type }}
{% if ansible_processor_vcpus|default(False) %}
* CPUs: {{ ansible_processor_vcpus }} ( {{ ansible_processor_count }} x {{ ansible_processor_cores }} Cores x {{ ansible_processor_threads_per_core }} Threads ){% endif %}
* CPUs: {{ ansible_processor_vcpus }} ( {{ ansible_processor_count }} x {{ ansible_processor_cores }} Cores x {{ ansible_processor_threads_per_core }} Threads )
{% endif %}
* CPU-Type: {{ ansible_processor[2]|default("N/A") }}
* RAM: {{ ansible_memtotal_mb|default("N/A") }} MB
* Swap: {{ "%0.2f" % (ansible_swaptotal_mb|default(0) / 1024) }} GB