ansible-role-cmdb/templates/section_general.txt.j2

10 lines
553 B
Text
Raw Normal View History

2023-06-19 15:12:18 +02:00
===== General =====
* Server Type: {% if ansible_virtualization_role == "guest" %} virtual {% else %} bare metal ({{ ansible_chassis_vendor }}){% endif %}
* Virtualization: {{ ansible_virtualization_type }}
* 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)
2023-06-29 08:43:26 +02:00
* CPU model: {{ ansible_processor[2] }}