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.
 
 

162 righe
5.9 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: 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.16.0\n"
  22. #: ../../../docs/just.md:1
  23. msgid "Running `just` commands"
  24. msgstr ""
  25. #: ../../../docs/just.md:3
  26. 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."
  27. msgstr ""
  28. #: ../../../docs/just.md:5
  29. 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."
  30. msgstr ""
  31. #: ../../../docs/just.md:7
  32. 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."
  33. msgstr ""
  34. #: ../../../docs/just.md:9
  35. 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."
  36. msgstr ""
  37. #: ../../../docs/just.md:11
  38. msgid "Here are some examples of shortcuts:"
  39. msgstr ""
  40. #: ../../../docs/just.md
  41. msgid "Shortcut"
  42. msgstr ""
  43. #: ../../../docs/just.md
  44. msgid "Result"
  45. msgstr ""
  46. #: ../../../docs/just.md
  47. msgid "`just roles`"
  48. msgstr ""
  49. #: ../../../docs/just.md
  50. msgid "Install the necessary Ansible roles pinned in [`requirements.yml`](../requirements.yml)"
  51. msgstr ""
  52. #: ../../../docs/just.md
  53. msgid "`just update`"
  54. msgstr ""
  55. #: ../../../docs/just.md
  56. msgid "Run `git pull` (to update the playbook) and install the Ansible roles"
  57. msgstr ""
  58. #: ../../../docs/just.md ../../../docs/just.md:33
  59. msgid "`just install-all`"
  60. msgstr ""
  61. #: ../../../docs/just.md
  62. msgid "Run `ansible-playbook -i inventory/hosts setup.yml --tags=install-all,ensure-matrix-users-created,start`"
  63. msgstr ""
  64. #: ../../../docs/just.md
  65. msgid "`just setup-all`"
  66. msgstr ""
  67. #: ../../../docs/just.md
  68. msgid "Run `ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-users-created,start`"
  69. msgstr ""
  70. #: ../../../docs/just.md
  71. msgid "`just install-all --ask-vault-pass`"
  72. msgstr ""
  73. #: ../../../docs/just.md
  74. msgid "Run commands with additional arguments (`--ask-vault-pass` will be appended to the above installation command)"
  75. msgstr ""
  76. #: ../../../docs/just.md
  77. msgid "`just run-tags install-mautrix-slack,start`"
  78. msgstr ""
  79. #: ../../../docs/just.md
  80. msgid "Run specific playbook tags (here `install-mautrix-slack` and `start`)"
  81. msgstr ""
  82. #: ../../../docs/just.md
  83. msgid "`just install-service mautrix-slack`"
  84. msgstr ""
  85. #: ../../../docs/just.md
  86. msgid "Run `just run-tags install-mautrix-slack,start` with even less typing"
  87. msgstr ""
  88. #: ../../../docs/just.md
  89. msgid "`just start-all`"
  90. msgstr ""
  91. #: ../../../docs/just.md
  92. msgid "(Re-)starts all services"
  93. msgstr ""
  94. #: ../../../docs/just.md
  95. msgid "`just stop-group postgres`"
  96. msgstr ""
  97. #: ../../../docs/just.md
  98. msgid "Stop only the Postgres service"
  99. msgstr ""
  100. #: ../../../docs/just.md
  101. msgid "`just register-user alice secret-password yes`"
  102. msgstr ""
  103. #: ../../../docs/just.md
  104. msgid "Registers an `alice` user with the `secret-password` password and admin access (admin = `yes`)"
  105. msgstr ""
  106. #: ../../../docs/just.md:26
  107. 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`."
  108. msgstr ""
  109. #: ../../../docs/just.md:28
  110. msgid "Difference between playbook tags and shortcuts"
  111. msgstr ""
  112. #: ../../../docs/just.md:30
  113. 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."
  114. msgstr ""
  115. #: ../../../docs/just.md:32
  116. msgid "For example, these two commands are different:"
  117. msgstr ""
  118. #: ../../../docs/just.md:34
  119. msgid "`ansible-playbook -i inventory/hosts setup.yml --tags=install-all`"
  120. msgstr ""
  121. #: ../../../docs/just.md:36
  122. 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`."
  123. msgstr ""
  124. #: ../../../docs/just.md:38
  125. 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."
  126. msgstr ""