Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

199 righe
9.2 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2025, Slavi Pantaleev, Aine Etke, MDAD community members
  3. # This file is distributed under the same license as the matrix-docker-ansible-deploy package.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  10. "Report-Msgid-Bugs-To: \n"
  11. "POT-Creation-Date: 2025-11-06 23:09+0900\n"
  12. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  13. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  14. "Language-Team: LANGUAGE <LL@li.org>\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=UTF-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. #: ../../../docs/configuring-playbook-bot-maubot.md:12
  19. msgid "Setting up maubot (optional)"
  20. msgstr ""
  21. #: ../../../docs/configuring-playbook-bot-maubot.md:14
  22. msgid "The playbook can install and configure [maubot](https://github.com/maubot/maubot) for you."
  23. msgstr ""
  24. #: ../../../docs/configuring-playbook-bot-maubot.md:16
  25. msgid "After setting up maubot, you can use the web management interface to make it do things. The default location of the management interface is `matrix.example.com/_matrix/maubot/`"
  26. msgstr ""
  27. #: ../../../docs/configuring-playbook-bot-maubot.md:18
  28. msgid "See the project's [documentation](https://docs.mau.fi/maubot/usage/basic.html) to learn what it does and why it might be useful to you."
  29. msgstr ""
  30. #: ../../../docs/configuring-playbook-bot-maubot.md:20
  31. msgid "Adjusting DNS records (optional)"
  32. msgstr ""
  33. #: ../../../docs/configuring-playbook-bot-maubot.md:22
  34. msgid "By default, this playbook installs maubot on the `matrix.` subdomain, at the `/_matrix/maubot/` path (https://matrix.example.com/_matrix/maubot/). This makes it easy to install it, because it **doesn't require additional DNS records to be set up**."
  35. msgstr ""
  36. #: ../../../docs/configuring-playbook-bot-maubot.md:24
  37. msgid "If you wish to adjust it, see the section [below](#adjusting-the-maubot-url-optional) for details about DNS configuration."
  38. msgstr ""
  39. #: ../../../docs/configuring-playbook-bot-maubot.md:26
  40. msgid "Adjusting the playbook configuration"
  41. msgstr ""
  42. #: ../../../docs/configuring-playbook-bot-maubot.md:28
  43. msgid "To enable the bot, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:"
  44. msgstr ""
  45. #: ../../../docs/configuring-playbook-bot-maubot.md:43
  46. msgid "You can add multiple admins. The admin accounts are only used to access the maubot administration interface."
  47. msgstr ""
  48. #: ../../../docs/configuring-playbook-bot-maubot.md:45
  49. msgid "Adjusting the maubot URL (optional)"
  50. msgstr ""
  51. #: ../../../docs/configuring-playbook-bot-maubot.md:47
  52. msgid "By tweaking the `matrix_bot_maubot_hostname` and `matrix_bot_maubot_path_prefix` variables, you can easily make the service available at a **different hostname and/or path** than the default one."
  53. msgstr ""
  54. #: ../../../docs/configuring-playbook-bot-maubot.md:49
  55. #: ../../../docs/configuring-playbook-bot-maubot.md:76
  56. msgid "Example additional configuration for your `vars.yml` file:"
  57. msgstr ""
  58. #: ../../../docs/configuring-playbook-bot-maubot.md:57
  59. msgid "If you've changed the default hostname, you may need to create a CNAME record for the maubot domain (`maubot.example.com`), which targets `matrix.example.com`."
  60. msgstr ""
  61. #: ../../../docs/configuring-playbook-bot-maubot.md:59
  62. msgid "When setting, replace `example.com` with your own."
  63. msgstr ""
  64. #: ../../../docs/configuring-playbook-bot-maubot.md:61
  65. msgid "Extending the configuration"
  66. msgstr ""
  67. #: ../../../docs/configuring-playbook-bot-maubot.md:63
  68. msgid "There are some additional things you may wish to configure about the bot."
  69. msgstr ""
  70. #: ../../../docs/configuring-playbook-bot-maubot.md:65
  71. msgid "Take a look at:"
  72. msgstr ""
  73. #: ../../../docs/configuring-playbook-bot-maubot.md:67
  74. msgid "`roles/custom/matrix-bot-maubot/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
  75. msgstr ""
  76. #: ../../../docs/configuring-playbook-bot-maubot.md:68
  77. msgid "`roles/custom/matrix-bot-maubot/templates/config.yaml.j2` for the bot's default configuration"
  78. msgstr ""
  79. #: ../../../docs/configuring-playbook-bot-maubot.md:70
  80. msgid "Customizing the maubot container image"
  81. msgstr ""
  82. #: ../../../docs/configuring-playbook-bot-maubot.md:72
  83. msgid "Certain [maubot plugins](https://plugins.mau.bot/) require additional dependencies to be installed."
  84. msgstr ""
  85. #: ../../../docs/configuring-playbook-bot-maubot.md:74
  86. msgid "You can customize the default maubot container image and install your own dependencies."
  87. msgstr ""
  88. #: ../../../docs/configuring-playbook-bot-maubot.md:87
  89. msgid "Consult the [Dockerfile reference](https://docs.docker.com/reference/dockerfile/) for more information about the syntax."
  90. msgstr ""
  91. #: ../../../docs/configuring-playbook-bot-maubot.md:89
  92. msgid "Installing"
  93. msgstr ""
  94. #: ../../../docs/configuring-playbook-bot-maubot.md:91
  95. msgid "After configuring the playbook and potentially [adjusting your DNS records](#adjusting-dns-records), run the playbook with [playbook tags](playbook-tags.md) as below:"
  96. msgstr ""
  97. #: ../../../docs/configuring-playbook-bot-maubot.md:98
  98. msgid "**Notes**:"
  99. msgstr ""
  100. #: ../../../docs/configuring-playbook-bot-maubot.md:100
  101. msgid "The `ensure-matrix-users-created` playbook tag makes the playbook automatically create the bot's user account."
  102. msgstr ""
  103. #: ../../../docs/configuring-playbook-bot-maubot.md:102
  104. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
  105. msgstr ""
  106. #: ../../../docs/configuring-playbook-bot-maubot.md:104
  107. msgid "`just install-all` is useful for maintaining your setup quickly ([2x-5x faster](../CHANGELOG.md#2x-5x-performance-improvements-in-playbook-runtime) than `just setup-all`) when its components remain unchanged. If you adjust your `vars.yml` to remove other components, you'd need to run `just setup-all`, or these components will still remain installed."
  108. msgstr ""
  109. #: ../../../docs/configuring-playbook-bot-maubot.md:106
  110. msgid "If you change the bot password (`matrix_bot_maubot_initial_password` in your `vars.yml` file) subsequently, the bot user's credentials on the homeserver won't be updated automatically. If you'd like to change the bot user's password, use a tool like [synapse-admin](configuring-playbook-synapse-admin.md) to change it, and then update `matrix_bot_maubot_initial_password` to let the bot know its new password."
  111. msgstr ""
  112. #: ../../../docs/configuring-playbook-bot-maubot.md:108
  113. msgid "Usage"
  114. msgstr ""
  115. #: ../../../docs/configuring-playbook-bot-maubot.md:110
  116. msgid "By default, you can visit `matrix.example.com/_matrix/maubot/` to manage your available plugins, clients and instances."
  117. msgstr ""
  118. #: ../../../docs/configuring-playbook-bot-maubot.md:112
  119. msgid "You should start in the following order"
  120. msgstr ""
  121. #: ../../../docs/configuring-playbook-bot-maubot.md:113
  122. msgid "**Create one or more clients**: A client is a Matrix account which the bot will use to message. By default, the playbook creates a `bot.maubot` account (as per the configuration above). You only need to [obtain an access token](#obtaining-an-access-token) for it"
  123. msgstr ""
  124. #: ../../../docs/configuring-playbook-bot-maubot.md:114
  125. msgid "**Upload some Plugins**: Plugins can be obtained from [here](https://github.com/maubot/maubot#plugins) or any other source."
  126. msgstr ""
  127. #: ../../../docs/configuring-playbook-bot-maubot.md:115
  128. msgid "**Create an instance**: An instance is the actual bot. You have to specify a client which the bot instance will use and the plugin (how the bot will behave)"
  129. msgstr ""
  130. #: ../../../docs/configuring-playbook-bot-maubot.md:117
  131. msgid "Obtain an access token"
  132. msgstr ""
  133. #: ../../../docs/configuring-playbook-bot-maubot.md:119
  134. msgid "This can be done via `mbc login` then `mbc auth` (see the [maubot documentation](https://docs.mau.fi/maubot/usage/cli/auth.html)). To run these commands, you'll first need to `exec` into the maubot container with `docker exec -it matrix-bot-maubot sh`."
  135. msgstr ""
  136. #: ../../../docs/configuring-playbook-bot-maubot.md:121
  137. msgid "Alternatively, you can refer to the documentation on [how to obtain an access token](obtaining-access-tokens.md). Be aware that you'd better use the **Obtain an access token via curl** method (not **Obtain an access token via Element Web**) as the latter will causes issues to your bot in encrypted rooms. Read [more](https://docs.mau.fi/maubot/usage/basic.html#creating-clients)."
  138. msgstr ""
  139. #: ../../../docs/configuring-playbook-bot-maubot.md:123
  140. msgid "[!WARNING] Access tokens are sensitive information. Do not include them in any bug reports, messages, or logs. Do not share the access token with anyone."
  141. msgstr ""
  142. #: ../../../docs/configuring-playbook-bot-maubot.md:126
  143. msgid "Troubleshooting"
  144. msgstr ""
  145. #: ../../../docs/configuring-playbook-bot-maubot.md:128
  146. msgid "As with all other services, you can find the logs in [systemd-journald](https://www.freedesktop.org/software/systemd/man/systemd-journald.service.html) by logging in to the server with SSH and running `journalctl -fu matrix-bot-maubot`."
  147. msgstr ""
  148. #: ../../../docs/configuring-playbook-bot-maubot.md:130
  149. msgid "Increase logging verbosity"
  150. msgstr ""
  151. #: ../../../docs/configuring-playbook-bot-maubot.md:132
  152. msgid "The default logging level for this component is `WARNING`. If you want to increase the verbosity, add the following configuration to your `vars.yml` file and re-run the playbook:"
  153. msgstr ""