Matrix Docker Ansible eploy
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

26 行
897 B

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