Преглед изворни кода

Minor fixups for the matrix-synapse-rest-auth handling

pull/6/head
Slavi Pantaleev пре 7 година
родитељ
комит
25becc63d5
2 измењених фајлова са 3 додато и 1 уклоњено
  1. +1
    -1
      roles/matrix-server/defaults/main.yml
  2. +2
    -0
      roles/matrix-server/tasks/setup_synapse_ext_rest_auth.yml

+ 1
- 1
roles/matrix-server/defaults/main.yml Прегледај датотеку

@@ -75,7 +75,7 @@ matrix_synapse_additional_loggers: []
# any password providers have been enabled or not. # any password providers have been enabled or not.
matrix_synapse_password_providers_enabled: false matrix_synapse_password_providers_enabled: false


# Enable this to activate the REST auth password provider module
# Enable this to activate the REST auth password provider module.
# See: https://github.com/kamax-io/matrix-synapse-rest-auth # See: https://github.com/kamax-io/matrix-synapse-rest-auth
matrix_synapse_ext_password_provider_rest_auth_enabled: false matrix_synapse_ext_password_provider_rest_auth_enabled: false
matrix_synapse_ext_password_provider_rest_auth_download_url: "https://raw.githubusercontent.com/kamax-io/matrix-synapse-rest-auth/v0.1.1/rest_auth_provider.py" matrix_synapse_ext_password_provider_rest_auth_download_url: "https://raw.githubusercontent.com/kamax-io/matrix-synapse-rest-auth/v0.1.1/rest_auth_provider.py"


+ 2
- 0
roles/matrix-server/tasks/setup_synapse_ext_rest_auth.yml Прегледај датотеку

@@ -8,9 +8,11 @@
get_url: get_url:
url: "{{ matrix_synapse_ext_password_provider_rest_auth_download_url }}" url: "{{ matrix_synapse_ext_password_provider_rest_auth_download_url }}"
dest: "{{ matrix_synapse_ext_path }}/rest_auth_provider.py" dest: "{{ matrix_synapse_ext_path }}/rest_auth_provider.py"
force: true
mode: 0440 mode: 0440
owner: "{{ matrix_user_username }}" owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_username }}" group: "{{ matrix_user_username }}"
when: "matrix_synapse_ext_password_provider_rest_auth_enabled"


- set_fact: - set_fact:
matrix_synapse_password_providers_enabled: true matrix_synapse_password_providers_enabled: true


Loading…
Откажи
Сачувај