fix: Matrix alert macro not interpolated in zabbix-matrix.yml #57

Closed
opened 2026-05-15 21:46:01 +00:00 by mconway · 0 comments
Owner

In ansible/roles/k8s-zabbix/tasks/zabbix-matrix.yml, the username macro is missing the $ prefix and Jinja2 braces:

username macro "{k8s_zabbix_user}"

This sends a literal string to the Zabbix API instead of the variable value.

Fix

Replace with the correct Ansible variable interpolation:

"{{ k8s_zabbix_user }}"
In `ansible/roles/k8s-zabbix/tasks/zabbix-matrix.yml`, the username macro is missing the `$` prefix and Jinja2 braces: ```yaml username macro "{k8s_zabbix_user}" ``` This sends a literal string to the Zabbix API instead of the variable value. ## Fix Replace with the correct Ansible variable interpolation: ```yaml "{{ k8s_zabbix_user }}" ```
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mconway/Homelab#57
No description provided.