From 6af727f66575ee05ae617899df3006e0c09ab9e3 Mon Sep 17 00:00:00 2001 From: Pieter Date: Fri, 23 Jan 2026 21:36:30 +0100 Subject: [PATCH] fix: YAML syntax error in stage verification task --- ansible/host_vars/kikker.yml | 13 +++++++------ .../playbooks/260123-upgrade-nextcloud-stage-v2.yml | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ansible/host_vars/kikker.yml b/ansible/host_vars/kikker.yml index e26c999..b8cecbb 100644 --- a/ansible/host_vars/kikker.yml +++ b/ansible/host_vars/kikker.yml @@ -9,10 +9,11 @@ client_name: kikker client_domain: kikker.vrije.cloud client_secrets_file: kikker.sops.yaml -# Diun configuration - Use Matrix notifications instead of email -diun_matrix_enabled: true -diun_matrix_homeserver_url: "{{ shared_secrets.matrix_homeserver_url }}" -diun_matrix_user: "{{ shared_secrets.matrix_diun_user }}" -diun_matrix_access_token: "{{ shared_secrets.matrix_diun_access_token }}" -diun_matrix_room_id: "{{ shared_secrets.matrix_diun_room_id }}" +# Diun configuration - Use webhook to Matrix instead of email +diun_notif_enabled: true +diun_notif_type: webhook +diun_webhook_endpoint: "https://diun-webhook.postxsociety.cloud" +diun_webhook_method: POST +diun_webhook_headers: + Content-Type: application/json diun_email_enabled: false diff --git a/ansible/playbooks/260123-upgrade-nextcloud-stage-v2.yml b/ansible/playbooks/260123-upgrade-nextcloud-stage-v2.yml index 8f066ae..5967654 100644 --- a/ansible/playbooks/260123-upgrade-nextcloud-stage-v2.yml +++ b/ansible/playbooks/260123-upgrade-nextcloud-stage-v2.yml @@ -50,7 +50,7 @@ replace: 'image: nextcloud:{{ stage.to }}' - name: "Stage {{ stage.stage }}: Verify docker-compose.yml was updated" - shell: grep "image: nextcloud:{{ stage.to }}" {{ nextcloud_base_dir }}/docker-compose.yml + shell: grep "image{{ ':' }} nextcloud{{ ':' }}{{ stage.to }}" {{ nextcloud_base_dir }}/docker-compose.yml register: compose_verify changed_when: false failed_when: compose_verify.rc != 0