Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

26 wiersze
945 B

  1. ---
  2. - ansible.builtin.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. ansible.builtin.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. ansible.builtin.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 }}"