fix 🐛: Update the hostname task to handle CPU strings correctly.

Fixes an issue where the hostname task was not handling CPU strings properly, leading to incorrect output.
This commit is contained in:
2025-10-12 08:10:07 +02:00
parent 63370d71b7
commit 8d91e24c7b

View File

@@ -18,7 +18,9 @@
Processor(s): Processor(s):
{% for cpu in ansible_processor %} {% for cpu in ansible_processor %}
- {{ cpu }} {% if cpu is string %}
- {{ cpu }}
{% endif %}
{% endfor %} {% endfor %}
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------