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.
 
 

203 regels
9.3 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2024, Slavi Pantaleev, Aine Etke, MDAD community
  3. # members
  4. # This file is distributed under the same license as the
  5. # matrix-docker-ansible-deploy package.
  6. # FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
  7. #
  8. #, fuzzy
  9. msgid ""
  10. msgstr ""
  11. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  12. "Report-Msgid-Bugs-To: \n"
  13. "POT-Creation-Date: 2026-04-03 11:56+0100\n"
  14. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  15. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  16. "Language: jp\n"
  17. "Language-Team: jp <LL@li.org>\n"
  18. "MIME-Version: 1.0\n"
  19. "Content-Type: text/plain; charset=utf-8\n"
  20. "Content-Transfer-Encoding: 8bit\n"
  21. "Generated-By: Babel 2.18.0\n"
  22. #: ../../../docs/configuring-playbook-bot-maubot.md:12
  23. msgid "Setting up maubot (optional)"
  24. msgstr ""
  25. #: ../../../docs/configuring-playbook-bot-maubot.md:14
  26. msgid "The playbook can install and configure [maubot](https://github.com/maubot/maubot) for you."
  27. msgstr ""
  28. #: ../../../docs/configuring-playbook-bot-maubot.md:16
  29. 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/`"
  30. msgstr ""
  31. #: ../../../docs/configuring-playbook-bot-maubot.md:18
  32. 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."
  33. msgstr ""
  34. #: ../../../docs/configuring-playbook-bot-maubot.md:20
  35. msgid "Adjusting DNS records (optional)"
  36. msgstr ""
  37. #: ../../../docs/configuring-playbook-bot-maubot.md:22
  38. 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**."
  39. msgstr ""
  40. #: ../../../docs/configuring-playbook-bot-maubot.md:24
  41. msgid "If you wish to adjust it, see the section [below](#adjusting-the-maubot-url-optional) for details about DNS configuration."
  42. msgstr ""
  43. #: ../../../docs/configuring-playbook-bot-maubot.md:26
  44. msgid "Adjusting the playbook configuration"
  45. msgstr ""
  46. #: ../../../docs/configuring-playbook-bot-maubot.md:28
  47. msgid "To enable the bot, add the following configuration to your `inventory/host_vars/matrix.example.com/vars.yml` file:"
  48. msgstr ""
  49. #: ../../../docs/configuring-playbook-bot-maubot.md:43
  50. msgid "You can add multiple admins. The admin accounts are only used to access the maubot administration interface."
  51. msgstr ""
  52. #: ../../../docs/configuring-playbook-bot-maubot.md:45
  53. msgid "Adjusting the maubot URL (optional)"
  54. msgstr ""
  55. #: ../../../docs/configuring-playbook-bot-maubot.md:47
  56. 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."
  57. msgstr ""
  58. #: ../../../docs/configuring-playbook-bot-maubot.md:49
  59. #: ../../../docs/configuring-playbook-bot-maubot.md:76
  60. msgid "Example additional configuration for your `vars.yml` file:"
  61. msgstr ""
  62. #: ../../../docs/configuring-playbook-bot-maubot.md:57
  63. 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`."
  64. msgstr ""
  65. #: ../../../docs/configuring-playbook-bot-maubot.md:59
  66. msgid "When setting, replace `example.com` with your own."
  67. msgstr ""
  68. #: ../../../docs/configuring-playbook-bot-maubot.md:61
  69. msgid "Extending the configuration"
  70. msgstr ""
  71. #: ../../../docs/configuring-playbook-bot-maubot.md:63
  72. msgid "There are some additional things you may wish to configure about the bot."
  73. msgstr ""
  74. #: ../../../docs/configuring-playbook-bot-maubot.md:65
  75. msgid "Take a look at:"
  76. msgstr ""
  77. #: ../../../docs/configuring-playbook-bot-maubot.md:67
  78. msgid "`roles/custom/matrix-bot-maubot/defaults/main.yml` for some variables that you can customize via your `vars.yml` file"
  79. msgstr ""
  80. #: ../../../docs/configuring-playbook-bot-maubot.md:68
  81. msgid "`roles/custom/matrix-bot-maubot/templates/config.yaml.j2` for the bot's default configuration"
  82. msgstr ""
  83. #: ../../../docs/configuring-playbook-bot-maubot.md:70
  84. msgid "Customizing the maubot container image"
  85. msgstr ""
  86. #: ../../../docs/configuring-playbook-bot-maubot.md:72
  87. msgid "Certain [maubot plugins](https://plugins.mau.bot/) require additional dependencies to be installed."
  88. msgstr ""
  89. #: ../../../docs/configuring-playbook-bot-maubot.md:74
  90. msgid "You can customize the default maubot container image and install your own dependencies."
  91. msgstr ""
  92. #: ../../../docs/configuring-playbook-bot-maubot.md:87
  93. msgid "Consult the [Dockerfile reference](https://docs.docker.com/reference/dockerfile/) for more information about the syntax."
  94. msgstr ""
  95. #: ../../../docs/configuring-playbook-bot-maubot.md:89
  96. msgid "Installing"
  97. msgstr ""
  98. #: ../../../docs/configuring-playbook-bot-maubot.md:91
  99. 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:"
  100. msgstr ""
  101. #: ../../../docs/configuring-playbook-bot-maubot.md:98
  102. msgid "**Notes**:"
  103. msgstr ""
  104. #: ../../../docs/configuring-playbook-bot-maubot.md:100
  105. msgid "The `ensure-matrix-users-created` playbook tag makes the playbook automatically create the bot's user account."
  106. msgstr ""
  107. #: ../../../docs/configuring-playbook-bot-maubot.md:102
  108. msgid "The shortcut commands with the [`just` program](just.md) are also available: `just install-all` or `just setup-all`"
  109. msgstr ""
  110. #: ../../../docs/configuring-playbook-bot-maubot.md:104
  111. 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."
  112. msgstr ""
  113. #: ../../../docs/configuring-playbook-bot-maubot.md:106
  114. 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 [Ketesa](configuring-playbook-ketesa.md) to change it, and then update `matrix_bot_maubot_initial_password` to let the bot know its new password."
  115. msgstr ""
  116. #: ../../../docs/configuring-playbook-bot-maubot.md:108
  117. msgid "Usage"
  118. msgstr ""
  119. #: ../../../docs/configuring-playbook-bot-maubot.md:110
  120. msgid "By default, you can visit `matrix.example.com/_matrix/maubot/` to manage your available plugins, clients and instances."
  121. msgstr ""
  122. #: ../../../docs/configuring-playbook-bot-maubot.md:112
  123. msgid "You should start in the following order"
  124. msgstr ""
  125. #: ../../../docs/configuring-playbook-bot-maubot.md:113
  126. 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"
  127. msgstr ""
  128. #: ../../../docs/configuring-playbook-bot-maubot.md:114
  129. msgid "**Upload some Plugins**: Plugins can be obtained from [here](https://github.com/maubot/maubot#plugins) or any other source."
  130. msgstr ""
  131. #: ../../../docs/configuring-playbook-bot-maubot.md:115
  132. 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)"
  133. msgstr ""
  134. #: ../../../docs/configuring-playbook-bot-maubot.md:117
  135. msgid "Obtain an access token"
  136. msgstr ""
  137. #: ../../../docs/configuring-playbook-bot-maubot.md:119
  138. 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`."
  139. msgstr ""
  140. #: ../../../docs/configuring-playbook-bot-maubot.md:121
  141. 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)."
  142. msgstr ""
  143. #: ../../../docs/configuring-playbook-bot-maubot.md:123
  144. 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."
  145. msgstr ""
  146. #: ../../../docs/configuring-playbook-bot-maubot.md:126
  147. msgid "Troubleshooting"
  148. msgstr ""
  149. #: ../../../docs/configuring-playbook-bot-maubot.md:128
  150. 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`."
  151. msgstr ""
  152. #: ../../../docs/configuring-playbook-bot-maubot.md:130
  153. msgid "Increase logging verbosity"
  154. msgstr ""
  155. #: ../../../docs/configuring-playbook-bot-maubot.md:132
  156. 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:"
  157. msgstr ""