Matrix Docker Ansible eploy
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 

163 Zeilen
6.0 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: 2025-01-27 09:54+0200\n"
  14. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  15. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  16. "Language: bg\n"
  17. "Language-Team: bg <LL@li.org>\n"
  18. "Plural-Forms: nplurals=2; plural=(n != 1);\n"
  19. "MIME-Version: 1.0\n"
  20. "Content-Type: text/plain; charset=utf-8\n"
  21. "Content-Transfer-Encoding: 8bit\n"
  22. "Generated-By: Babel 2.16.0\n"
  23. #: ../../../docs/just.md:1
  24. msgid "Running `just` commands"
  25. msgstr ""
  26. #: ../../../docs/just.md:3
  27. msgid "We have previously used [make](https://www.gnu.org/software/make/) for easily running some playbook commands (e.g. `make roles` which triggers [`ansible-galaxy`](https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html)). Our [`Makefile`](../Makefile) is still around, and you can still run these commands."
  28. msgstr ""
  29. #: ../../../docs/just.md:5
  30. msgid "In addition, we have added support for running commands via [`just`](https://github.com/casey/just) — a more modern command-runner alternative to `make`. It can be used to invoke `ansible-playbook` commands with less typing."
  31. msgstr ""
  32. #: ../../../docs/just.md:7
  33. msgid "The `just` utility executes shortcut commands (called as \"recipes\"), which invoke `ansible-playbook`, `ansible-galaxy` or [`agru`](https://github.com/etkecc/agru) (depending on what is available in your system). The targets of the recipes are defined in [`justfile`](../justfile). Most of the just recipes have no corresponding `Makefile` targets."
  34. msgstr ""
  35. #: ../../../docs/just.md:9
  36. msgid "For some recipes such as `just update`, our `justfile` recommends installing [`agru`](https://github.com/etkecc/agru) (a faster alternative to `ansible-galaxy`) to speed up the process."
  37. msgstr ""
  38. #: ../../../docs/just.md:11
  39. msgid "Here are some examples of shortcuts:"
  40. msgstr ""
  41. #: ../../../docs/just.md
  42. msgid "Shortcut"
  43. msgstr ""
  44. #: ../../../docs/just.md
  45. msgid "Result"
  46. msgstr ""
  47. #: ../../../docs/just.md
  48. msgid "`just roles`"
  49. msgstr ""
  50. #: ../../../docs/just.md
  51. msgid "Install the necessary Ansible roles pinned in [`requirements.yml`](../requirements.yml)"
  52. msgstr ""
  53. #: ../../../docs/just.md
  54. msgid "`just update`"
  55. msgstr ""
  56. #: ../../../docs/just.md
  57. msgid "Run `git pull` (to update the playbook) and install the Ansible roles"
  58. msgstr ""
  59. #: ../../../docs/just.md ../../../docs/just.md:33
  60. msgid "`just install-all`"
  61. msgstr ""
  62. #: ../../../docs/just.md
  63. msgid "Run `ansible-playbook -i inventory/hosts setup.yml --tags=install-all,ensure-matrix-users-created,start`"
  64. msgstr ""
  65. #: ../../../docs/just.md
  66. msgid "`just setup-all`"
  67. msgstr ""
  68. #: ../../../docs/just.md
  69. msgid "Run `ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-users-created,start`"
  70. msgstr ""
  71. #: ../../../docs/just.md
  72. msgid "`just install-all --ask-vault-pass`"
  73. msgstr ""
  74. #: ../../../docs/just.md
  75. msgid "Run commands with additional arguments (`--ask-vault-pass` will be appended to the above installation command)"
  76. msgstr ""
  77. #: ../../../docs/just.md
  78. msgid "`just run-tags install-mautrix-slack,start`"
  79. msgstr ""
  80. #: ../../../docs/just.md
  81. msgid "Run specific playbook tags (here `install-mautrix-slack` and `start`)"
  82. msgstr ""
  83. #: ../../../docs/just.md
  84. msgid "`just install-service mautrix-slack`"
  85. msgstr ""
  86. #: ../../../docs/just.md
  87. msgid "Run `just run-tags install-mautrix-slack,start` with even less typing"
  88. msgstr ""
  89. #: ../../../docs/just.md
  90. msgid "`just start-all`"
  91. msgstr ""
  92. #: ../../../docs/just.md
  93. msgid "(Re-)starts all services"
  94. msgstr ""
  95. #: ../../../docs/just.md
  96. msgid "`just stop-group postgres`"
  97. msgstr ""
  98. #: ../../../docs/just.md
  99. msgid "Stop only the Postgres service"
  100. msgstr ""
  101. #: ../../../docs/just.md
  102. msgid "`just register-user alice secret-password yes`"
  103. msgstr ""
  104. #: ../../../docs/just.md
  105. msgid "Registers an `alice` user with the `secret-password` password and admin access (admin = `yes`)"
  106. msgstr ""
  107. #: ../../../docs/just.md:26
  108. msgid "While [our documentation on prerequisites](prerequisites.md) lists `just` as one of the requirements for installation, using `just` is optional. If you find it difficult to install it, do not find it useful, or want to prefer raw `ansible-playbook` commands for some reason, feel free to run all commands manually. For example, you can run `ansible-galaxy` directly to install the Ansible roles: `rm -rf roles/galaxy; ansible-galaxy install -r requirements.yml -p roles/galaxy/ --force`."
  109. msgstr ""
  110. #: ../../../docs/just.md:28
  111. msgid "Difference between playbook tags and shortcuts"
  112. msgstr ""
  113. #: ../../../docs/just.md:30
  114. msgid "It is worth noting that `just` \"recipes\" are different from [playbook tags](playbook-tags.md). The recipes are shortcuts of commands defined in `justfile` and can be executed by the `just` program only, while the playbook tags are available for the raw `ansible-playbook` commands as well. Please be careful not to confuse them."
  115. msgstr ""
  116. #: ../../../docs/just.md:32
  117. msgid "For example, these two commands are different:"
  118. msgstr ""
  119. #: ../../../docs/just.md:34
  120. msgid "`ansible-playbook -i inventory/hosts setup.yml --tags=install-all`"
  121. msgstr ""
  122. #: ../../../docs/just.md:36
  123. msgid "The just recipe runs `ensure-matrix-users-created` and `start` tags after `install-all`, while the latter runs only `install-all` tag. The correct shortcut of the latter is `just run-tags install-all`."
  124. msgstr ""
  125. #: ../../../docs/just.md:38
  126. msgid "Such kind of difference sometimes matters. For example, when you install a Matrix server into which you will import old data (see [here](installing.md#installing-a-server-into-which-youll-import-old-data)), you are not supposed to run `just install-all` or `just setup-all`, because these commands start services immediately after installing components which may prevent your from importing old data."
  127. msgstr ""