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:
@@ -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
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user