Matrix Docker Ansible eploy
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

23 rindas
769 B

  1. ---
  2. - name: Fail if Macaroon key is missing
  3. fail:
  4. msg: "You need to set a secret in the matrix_synapse_macaroon_secret_key variable"
  5. when: "matrix_synapse_macaroon_secret_key == ''"
  6. - name: Ensure Matrix Synapse paths exist
  7. file:
  8. path: "{{ item }}"
  9. state: directory
  10. mode: 0750
  11. owner: "{{ matrix_user_username }}"
  12. group: "{{ matrix_user_username }}"
  13. with_items:
  14. - "{{ matrix_synapse_config_dir_path }}"
  15. - "{{ matrix_synapse_run_path }}"
  16. - "{{ matrix_synapse_storage_path }}"
  17. - "{{ matrix_synapse_ext_path }}"
  18. # We handle matrix_synapse_media_store_path elsewhere (in setup_synapse.yml),
  19. # because if it's using S3fs and it's already mounted (from before),
  20. # trying to chown/chmod it here will cause trouble.