Matrix Docker Ansible eploy
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
910 B

  1. ---
  2. - name: Ensure 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_ext_path }}"
  13. - { src: "{{ matrix_synapse_docker_src_files_path }}", when: "{{ matrix_synapse_container_image_self_build }}" }
  14. # We handle matrix_synapse_media_store_path elsewhere (in ./synapse/setup_install.yml),
  15. # because if it's using Goofys and it's already mounted (from before),
  16. # trying to chown/chmod it here will cause trouble.
  17. when: "matrix_synapse_enabled|bool or matrix_s3_media_store_enabled|bool"
  18. - import_tasks: "{{ role_path }}/tasks/ext/setup.yml"
  19. - import_tasks: "{{ role_path }}/tasks/synapse/setup.yml"
  20. - import_tasks: "{{ role_path }}/tasks/goofys/setup.yml"