Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
582 B

  1. ---
  2. - name: Ensure Matrix Synapse paths exist
  3. file:
  4. path: "{{ item }}"
  5. state: directory
  6. mode: 0750
  7. owner: "{{ matrix_user_username }}"
  8. group: "{{ matrix_user_username }}"
  9. with_items:
  10. - "{{ matrix_synapse_config_dir_path }}"
  11. - "{{ matrix_synapse_run_path }}"
  12. - "{{ matrix_synapse_storage_path }}"
  13. - "{{ matrix_synapse_ext_path }}"
  14. # We handle matrix_synapse_media_store_path elsewhere (in setup_synapse.yml),
  15. # because if it's using S3fs and it's already mounted (from before),
  16. # trying to chown/chmod it here will cause trouble.