Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 

94 строки
4.2 KiB

  1. # Mx Puppet Skype is a Matrix <-> Skype bridge
  2. # See: https://github.com/Sorunome/mx-puppet-skype
  3. matrix_mx_puppet_skype_enabled: true
  4. matrix_mx_puppet_skype_container_image_self_build: false
  5. matrix_mx_puppet_skype_docker_image: "sorunome/mx-puppet-skype:latest"
  6. matrix_mx_puppet_skype_docker_image_force_pull: "{{ matrix_mx_puppet_skype_docker_image.endswith(':latest') }}"
  7. matrix_mx_puppet_skype_base_path: "{{ matrix_base_data_path }}/mx-puppet-skype"
  8. matrix_mx_puppet_skype_config_path: "{{ matrix_mx_puppet_skype_base_path }}/config"
  9. matrix_mx_puppet_skype_data_path: "{{ matrix_mx_puppet_skype_base_path }}/data"
  10. matrix_mx_puppet_skype_docker_src_files_path: "{{ matrix_mx_puppet_skype_base_path }}/docker-src"
  11. matrix_mx_puppet_skype_appservice_port: "8438"
  12. matrix_mx_puppet_skype_homeserver_address: 'http://matrix-synapse:8008'
  13. matrix_mx_puppet_skype_appservice_address: 'http://matrix-mx-puppet-skype:{{ matrix_mx_puppet_skype_appservice_port }}'
  14. # "@user:server.com" to allow specific user
  15. # "@.*:yourserver.com" to allow users on a specific homeserver
  16. # "@.*" to allow anyone
  17. matrix_mx_puppet_skype_provisioning_whitelist:
  18. - "@.*:{{ matrix_domain|regex_escape }}"
  19. # Leave empty to disable blacklist
  20. # "@user:server.com" disallow a specific user
  21. # "@.*:yourserver.com" disallow users on a specific homeserver
  22. matrix_mx_puppet_skype_provisioning_blacklist: []
  23. # Same as provisioning
  24. matrix_mx_puppet_skype_relay_whitelist:
  25. - "@.*:{{ matrix_domain|regex_escape }}"
  26. # Same as provisioning
  27. matrix_mx_puppet_skype_relay_blacklist: []
  28. # A list of extra arguments to pass to the container
  29. matrix_mx_puppet_skype_container_extra_arguments: []
  30. # List of systemd services that matrix-puppet-skype.service depends on.
  31. matrix_mx_puppet_skype_systemd_required_services_list: ['docker.service']
  32. # List of systemd services that matrix-puppet-skype.service wants
  33. matrix_mx_puppet_skype_systemd_wanted_services_list: []
  34. matrix_mx_puppet_skype_appservice_token: ''
  35. matrix_mx_puppet_skype_homeserver_token: ''
  36. # Can be set to enable automatic double-puppeting via Shared Secret Auth (https://github.com/devture/matrix-synapse-shared-secret-auth).
  37. matrix_mx_puppet_skype_login_shared_secret: ''
  38. # Default configuration template which covers the generic use case.
  39. # You can customize it by controlling the various variables inside it.
  40. #
  41. # For a more advanced customization, you can extend the default (see `matrix_mx_puppet_skype_configuration_extension_yaml`)
  42. # or completely replace this variable with your own template.
  43. matrix_mx_puppet_skype_configuration_yaml: "{{ lookup('template', 'templates/config.yaml.j2') }}"
  44. matrix_mx_puppet_skype_configuration_extension_yaml: |
  45. # Your custom YAML configuration goes here.
  46. # This configuration extends the default starting configuration (`matrix_mx_puppet_skype_configuration_yaml`).
  47. #
  48. # You can override individual variables from the default configuration, or introduce new ones.
  49. #
  50. # If you need something more special, you can take full control by
  51. # completely redefining `matrix_mx_puppet_skype_configuration_yaml`.
  52. matrix_mx_puppet_skype_configuration_extension: "{{ matrix_mx_puppet_skype_configuration_extension_yaml|from_yaml if matrix_mx_puppet_skype_configuration_extension_yaml|from_yaml is mapping else {} }}"
  53. # Holds the final configuration (a combination of the default and its extension).
  54. # You most likely don't need to touch this variable. Instead, see `matrix_mx_puppet_skype_configuration_yaml`.
  55. matrix_mx_puppet_skype_configuration: "{{ matrix_mx_puppet_skype_configuration_yaml|from_yaml|combine(matrix_mx_puppet_skype_configuration_extension, recursive=True) }}"
  56. matrix_mx_puppet_skype_registration_yaml: |
  57. as_token: "{{ matrix_mx_puppet_skype_appservice_token }}"
  58. hs_token: "{{ matrix_mx_puppet_skype_homeserver_token }}"
  59. id: skype-puppet
  60. namespaces:
  61. users:
  62. - exclusive: true
  63. regex: '@_skypepuppet_.*:{{ matrix_domain|regex_escape }}'
  64. rooms: []
  65. aliases:
  66. - exclusive: true
  67. regex: '#_skypepuppet_.*:{{ matrix_domain|regex_escape }}'
  68. protocols: []
  69. rate_limited: false
  70. sender_localpart: _skypepuppet_bot
  71. url: {{ matrix_mx_puppet_skype_appservice_address }}
  72. matrix_mx_puppet_skype_registration: "{{ matrix_mx_puppet_skype_registration_yaml|from_yaml }}"