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.
 
 

63 lines
3.7 KiB

  1. ---
  2. # matrix-registration-bot creates and manages registration tokens for a matrix server
  3. # See: https://github.com/moan0s/matrix-registration-bot
  4. matrix_bot_matrix_registration_bot_enabled: true
  5. matrix_bot_matrix_registration_bot_container_image_self_build: false
  6. matrix_bot_matrix_registration_bot_docker_repo: "https://github.com/moan0s/matrix-registration-bot.git"
  7. matrix_bot_matrix_registration_bot_docker_src_files_path: "{{ matrix_base_data_path }}/matrix-registration-bot/"
  8. matrix_bot_matrix_registration_bot_version: latest
  9. matrix_bot_matrix_registration_bot_docker_image: "{{ matrix_container_global_registry_prefix }}moanos/matrix-registration-bot:{{ matrix_bot_matrix_registration_bot_version }}"
  10. matrix_bot_matrix_registration_bot_docker_image_force_pull: "{{ matrix_bot_matrix_registration_bot_docker_image.endswith(':latest') }}"
  11. matrix_bot_matrix_registration_bot_base_path: "{{ matrix_base_data_path }}/matrix-registration-bot"
  12. matrix_bot_matrix_registration_bot_config_path: "{{ matrix_bot_matrix_registration_bot_base_path }}/config"
  13. # A list of extra arguments to pass to the container
  14. matrix_bot_matrix_registration_bot_container_extra_arguments: []
  15. # List of systemd services that matrix-bot-matrix-registration-bot.service depends on
  16. matrix_bot_matrix_registration_bot_systemd_required_services_list: ['docker.service']
  17. # List of systemd services that matrix-bot-matrix-registration-bot.service wants
  18. matrix_bot_matrix_registration_bot_systemd_wanted_services_list: []
  19. # The bot's username. This user needs to be created manually beforehand.
  20. # Also see `matrix_bot_matrix_registration_bot_user_password`.
  21. matrix_bot_matrix_registration_bot_matrix_user_id_localpart: "matrix-registration-bot"
  22. matrix_bot_matrix_registration_bot_matrix_user_id: '@{{ matrix_bot_matrix_registration_bot_matrix_user_id_localpart }}:{{ matrix_domain }}'
  23. # The password that the bot uses to authenticate.
  24. matrix_bot_matrix_registration_bot_matrix_user_password: ''
  25. matrix_bot_matrix_registration_bot_matrix_homeserver_url: "{{ matrix_homeserver_container_url }}"
  26. # Default configuration template which covers the generic use case.
  27. # You can customize it by controlling the various variables inside it.
  28. #
  29. # For a more advanced customization, you can extend the default (see `matrix_bot_matrix_registration_bot_configuration_extension_yaml`)
  30. # or completely replace this variable with your own template.
  31. matrix_bot_matrix_registration_bot_configuration_yaml: "{{ lookup('template', 'templates/config.yml.j2') }}"
  32. matrix_bot_matrix_registration_bot_configuration_extension_yaml: |
  33. # Your custom YAML configuration goes here.
  34. # This configuration extends the default starting configuration (`matrix_bot_matrix_registration_bot_configuration_yaml`).
  35. #
  36. # You can override individual variables from the default configuration, or introduce new ones.
  37. #
  38. # If you need something more special, you can take full control by
  39. # completely redefining `matrix_bot_matrix_registration_bot_configuration_yaml`.
  40. #
  41. # Example configuration extension follows:
  42. #
  43. # matrix:
  44. # device_name: My-Registration-Bot
  45. matrix_bot_matrix_registration_bot_configuration_extension: "{{ matrix_bot_matrix_registration_bot_configuration_extension_yaml|from_yaml if matrix_bot_matrix_registration_bot_configuration_extension_yaml|from_yaml is mapping else {} }}"
  46. # Holds the final configuration (a combination of the default and its extension).
  47. # You most likely don't need to touch this variable. Instead, see `matrix_bot_matrix_registration_bot_configuration_yaml`.
  48. matrix_bot_matrix_registration_bot_configuration: "{{ matrix_bot_matrix_registration_bot_configuration_yaml|from_yaml|combine(matrix_bot_matrix_registration_bot_configuration_extension, recursive=True) }}"