fix 🐛: Update hostname task to include core count information.

The `hostname` task now includes the number of cores in the system, enhancing its functionality and providing more detailed information about the machine.
This commit is contained in:
2025-10-12 08:13:01 +02:00
parent 8d91e24c7b
commit 5127fe9f03

View File

@@ -16,13 +16,15 @@
Architecture : {{ ansible_architecture }}
Total Memory : {{ ansible_memtotal_mb }} MB
Processor(s):
{% for cpu in ansible_processor %}
Processor Model:
{% for cpu in ansible_processor | unique %}
{% if cpu is string %}
- {{ cpu }}
{% endif %}
{% endfor %}
Core Count: {{ ansible_processor_cores }}
# ----------------------------------------------------------------------
# 2. NETWORK INFORMATION
# ----------------------------------------------------------------------