From 5127fe9f03ca99c91737105d5b0bf03d6b3e231a Mon Sep 17 00:00:00 2001 From: Jose Date: Sun, 12 Oct 2025 08:13:01 +0200 Subject: [PATCH] =?UTF-8?q?fix=20=F0=9F=90=9B:=20Update=20hostname=20task?= =?UTF-8?q?=20to=20include=20core=20count=20information.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `hostname` task now includes the number of cores in the system, enhancing its functionality and providing more detailed information about the machine. --- tasks/hostname.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tasks/hostname.yml b/tasks/hostname.yml index 8918eab..9b73419 100644 --- a/tasks/hostname.yml +++ b/tasks/hostname.yml @@ -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 # ----------------------------------------------------------------------