fix: show Loki Helm install output on failure
Some checks failed
Deploy Cluster / Ansible (push) Has been cancelled
Deploy Cluster / Terraform (push) Has been cancelled

This commit is contained in:
2026-03-02 12:45:03 +00:00
parent 9bc708ea4b
commit 5ab3c7a0ac

View File

@@ -116,6 +116,16 @@
failed_when: false
changed_when: true
- name: Show Loki Helm install output
debug:
msg: |
Helm install rc: {{ loki_install.rc }}
Helm install stdout:
{{ loki_install.stdout }}
Helm install stderr:
{{ loki_install.stderr }}
when: loki_install.rc != 0
- name: Wait for Loki statefulset rollout
command: kubectl -n {{ observability_namespace }} rollout status statefulset/loki --timeout=10m
register: loki_rollout