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

24 行
856 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_well_known_file_path|dirname }}"
  16. - name: Ensure Matrix /.well-known/matrix/client configured
  17. template:
  18. src: "{{ role_path }}/templates/well-known/matrix-client.j2"
  19. dest: "{{ matrix_well_known_file_path }}"
  20. mode: 0644
  21. owner: "{{ matrix_user_username }}"
  22. group: "{{ matrix_user_username }}"