Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

31 строка
1.2 KiB

  1. ---
  2. - name: Fail if REST Auth endpoint not configured
  3. fail:
  4. msg: "You have enabled the REST Auth password provider, but have not configured its endpoint in the `matrix_synapse_ext_password_provider_rest_auth_endpoint` variable. Consult the documentation."
  5. when: "matrix_synapse_ext_password_provider_rest_auth_endpoint == ''"
  6. - name: Download matrix-synapse-rest-auth
  7. get_url:
  8. url: "{{ matrix_synapse_ext_password_provider_rest_auth_download_url }}"
  9. dest: "{{ matrix_synapse_ext_path }}/rest_auth_provider.py"
  10. force: true
  11. mode: 0440
  12. owner: "{{ matrix_user_username }}"
  13. group: "{{ matrix_user_username }}"
  14. - set_fact:
  15. matrix_synapse_password_providers_enabled: true
  16. - set_fact:
  17. matrix_synapse_container_additional_volumes: >
  18. {{ matrix_synapse_container_additional_volumes }}
  19. +
  20. {{ [{'src': '{{ matrix_synapse_ext_path }}/rest_auth_provider.py', 'dst': '{{ matrix_synapse_in_container_python_packages_path }}/rest_auth_provider.py', 'options': 'ro'}] }}
  21. - set_fact:
  22. matrix_synapse_additional_loggers: >
  23. {{ matrix_synapse_additional_loggers }}
  24. +
  25. {{ [{'name': 'rest_auth_provider', 'level': 'INFO'}] }}