fix: use inventory_hostname

This commit is contained in:
2026-06-19 12:40:30 +00:00
parent 30f53ba20a
commit 49a50e5af3

View File

@@ -97,7 +97,7 @@
No updates available on the cluster. No updates available on the cluster.
{% endif %} {% endif %}
{% elif in_maintenance %} {% elif in_maintenance %}
The node {{ ansible_inventory }} is in CARP maintenance mode. The node {{ inventory_hostname }} is in CARP maintenance mode.
{% elif mismatched_vips > 0 %} {% elif mismatched_vips > 0 %}
Some VIP are not {{ main_role }} on {{ ansible_host }}. Some VIP are not {{ main_role }} on {{ ansible_host }}.
{% else %} {% else %}