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.
 
 

55 lines
3.0 KiB

  1. matrix_client_cinny_enabled: true
  2. matrix_client_cinny_container_image_self_build: false
  3. matrix_client_cinny_container_image_self_build_repo: "https://github.com/ajbura/cinny.git"
  4. matrix_client_cinny_version: v1.6.1
  5. matrix_client_cinny_docker_image: "{{ matrix_client_cinny_docker_image_name_prefix }}ajbura/cinny:{{ matrix_client_cinny_version }}"
  6. matrix_client_cinny_docker_image_name_prefix: "{{ 'localhost/' if matrix_client_cinny_container_image_self_build }}"
  7. matrix_client_cinny_docker_image_force_pull: "{{ matrix_client_cinny_docker_image.endswith(':latest') }}"
  8. matrix_client_cinny_data_path: "{{ matrix_base_data_path }}/client-cinny"
  9. matrix_client_cinny_docker_src_files_path: "{{ matrix_client_cinny_data_path }}/docker-src"
  10. # Controls whether the container exposes its HTTP port (tcp/8080 in the container).
  11. #
  12. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:8768"), or empty string to not expose.
  13. matrix_client_cinny_container_http_host_bind_port: ''
  14. # A list of extra arguments to pass to the container
  15. matrix_client_cinny_container_extra_arguments: []
  16. # List of systemd services that matrix-client-cinny.service depends on
  17. matrix_client_cinny_systemd_required_services_list: ['docker.service']
  18. # Controls whether the self-check feature should validate SSL certificates.
  19. matrix_client_cinny_self_check_validate_certificates: true
  20. # config.json
  21. matrix_client_cinny_default_hs_url: ""
  22. # Default cinny configuration template which covers the generic use case.
  23. # You can customize it by controlling the various variables inside it.
  24. #
  25. # For a more advanced customization, you can extend the default (see `matrix_client_cinny_configuration_extension_json`)
  26. # or completely replace this variable with your own template.
  27. #
  28. # The side-effect of this lookup is that Ansible would even parse the JSON for us, returning a dict.
  29. # This is unlike what it does when looking up YAML template files (no automatic parsing there).
  30. matrix_client_cinny_configuration_default: "{{ lookup('template', 'templates/config.json.j2') }}"
  31. # Your custom JSON configuration for cinny should go to `matrix_client_cinny_configuration_extension_json`.
  32. # This configuration extends the default starting configuration (`matrix_client_cinny_configuration_default`).
  33. #
  34. # You can override individual variables from the default configuration, or introduce new ones.
  35. #
  36. # If you need something more special, you can take full control by
  37. # completely redefining `matrix_client_cinny_configuration_default`.
  38. matrix_client_cinny_configuration_extension_json: '{}'
  39. matrix_client_cinny_configuration_extension: "{{ matrix_client_cinny_configuration_extension_json|from_json if matrix_client_cinny_configuration_extension_json|from_json is mapping else {} }}"
  40. # Holds the final cinny configuration (a combination of the default and its extension).
  41. # You most likely don't need to touch this variable. Instead, see `matrix_client_cinny_configuration_default`.
  42. matrix_client_cinny_configuration: "{{ matrix_client_cinny_configuration_default|combine(matrix_client_cinny_configuration_extension, recursive=True) }}"