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 }}
|
Architecture : {{ ansible_architecture }}
|
||||||
Total Memory : {{ ansible_memtotal_mb }} MB
|
Total Memory : {{ ansible_memtotal_mb }} MB
|
||||||
|
|
||||||
Processor(s):
|
Processor Model:
|
||||||
{% for cpu in ansible_processor %}
|
{% for cpu in ansible_processor | unique %}
|
||||||
{% if cpu is string %}
|
{% if cpu is string %}
|
||||||
- {{ cpu }}
|
- {{ cpu }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
Core Count: {{ ansible_processor_cores }}
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
# 2. NETWORK INFORMATION
|
# 2. NETWORK INFORMATION
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user