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:
@@ -18,7 +18,9 @@
|
||||
|
||||
Processor(s):
|
||||
{% for cpu in ansible_processor %}
|
||||
- {{ cpu }}
|
||||
{% if cpu is string %}
|
||||
- {{ cpu }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user