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

24 строки
890 B

  1. - set_fact:
  2. matrix_well_known_file_path: "{{ matrix_static_files_base_path }}/.well-known/matrix/client"
  3. # We need others to be able to read these directories too,
  4. # so that matrix-nginx-proxy's nginx user can access the files.
  5. #
  6. # For running with another webserver, we recommend being part of the `matrix` group.
  7. - name: Ensure Matrix static-files path exists
  8. file:
  9. path: "{{ item }}"
  10. state: directory
  11. mode: 0755
  12. owner: "{{ matrix_user_username }}"
  13. group: "{{ matrix_user_username }}"
  14. with_items:
  15. - "{{ matrix_static_files_base_path }}/.well-known/matrix"
  16. - name: Ensure Matrix /.well-known/matrix/client configured
  17. template:
  18. src: "{{ role_path }}/templates/well-known/matrix-client.j2"
  19. dest: "{{ matrix_static_files_base_path }}/.well-known/matrix"
  20. mode: 0644
  21. owner: "{{ matrix_user_username }}"
  22. group: "{{ matrix_user_username }}"