Add support for matrix-synapse-shared-secret-auth

This commit is contained in:
Slavi Pantaleev
2018-08-20 17:11:55 +03:00
parent f72882fe1a
commit 14d7d3e670
5 changed files with 27 additions and 2 deletions

View File

@ -4,6 +4,11 @@
# Tasks related to setting up matrix-synapse-shared-secret-auth
#
- name: Fail if Shared Secret Auth enabled, but no secret set
fail:
msg: "Shared Secret Auth is enabled, but no secret has been set in matrix_synapse_ext_password_provider_shared_secret_auth_shared_secret"
when: "matrix_synapse_ext_password_provider_shared_secret_auth_enabled and matrix_synapse_ext_password_provider_shared_secret_auth_shared_secret == ''"
- name: Download matrix-synapse-shared-secret-auth
get_url:
url: "{{ matrix_synapse_ext_password_provider_shared_secret_auth_download_url }}"