fix: SAML user directory condition always evaluates false in k8s-zabbix #56

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

In ansible/roles/k8s-zabbix/tasks/main.yml, the task that creates the Authentik SAML user directory has a broken condition:

when: k8s_zabbix_state != 'absent' or False

The or False short-circuits the entire expression, so this task never runs. The SAML directory exists in production because it was set up manually.

Fix

Remove the or False:

when: k8s_zabbix_state != 'absent'
In `ansible/roles/k8s-zabbix/tasks/main.yml`, the task that creates the Authentik SAML user directory has a broken condition: ```yaml when: k8s_zabbix_state != 'absent' or False ``` The `or False` short-circuits the entire expression, so this task **never runs**. The SAML directory exists in production because it was set up manually. ## Fix Remove the `or False`: ```yaml when: k8s_zabbix_state != 'absent' ```
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#56
No description provided.