Matrix Docker Ansible eploy
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

20 linhas
747 B

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