fix: YAML syntax error in stage verification task
This commit is contained in:
parent
fb90d77dbc
commit
6af727f665
2 changed files with 8 additions and 7 deletions
|
|
@ -9,10 +9,11 @@ client_name: kikker
|
||||||
client_domain: kikker.vrije.cloud
|
client_domain: kikker.vrije.cloud
|
||||||
client_secrets_file: kikker.sops.yaml
|
client_secrets_file: kikker.sops.yaml
|
||||||
|
|
||||||
# Diun configuration - Use Matrix notifications instead of email
|
# Diun configuration - Use webhook to Matrix instead of email
|
||||||
diun_matrix_enabled: true
|
diun_notif_enabled: true
|
||||||
diun_matrix_homeserver_url: "{{ shared_secrets.matrix_homeserver_url }}"
|
diun_notif_type: webhook
|
||||||
diun_matrix_user: "{{ shared_secrets.matrix_diun_user }}"
|
diun_webhook_endpoint: "https://diun-webhook.postxsociety.cloud"
|
||||||
diun_matrix_access_token: "{{ shared_secrets.matrix_diun_access_token }}"
|
diun_webhook_method: POST
|
||||||
diun_matrix_room_id: "{{ shared_secrets.matrix_diun_room_id }}"
|
diun_webhook_headers:
|
||||||
|
Content-Type: application/json
|
||||||
diun_email_enabled: false
|
diun_email_enabled: false
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@
|
||||||
replace: 'image: nextcloud:{{ stage.to }}'
|
replace: 'image: nextcloud:{{ stage.to }}'
|
||||||
|
|
||||||
- name: "Stage {{ stage.stage }}: Verify docker-compose.yml was updated"
|
- 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
|
register: compose_verify
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: compose_verify.rc != 0
|
failed_when: compose_verify.rc != 0
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue