No description
Find a file
muppeth 5c3598cbb4 Merge pull request '1.5.5' (#4) from 1.5.4 into main
Reviewed-on: #4
Reviewed-by: meaz <meaz@no-reply@disroot.org>
2024-02-09 22:48:00 +00:00
defaults bump to 1.5.5 2024-01-25 22:13:17 +01:00
handlers add handler 2023-12-05 21:56:33 +01:00
Playbooks first commit 2023-10-08 20:28:47 +02:00
tasks remove the update langages task as it is fix upstream 2024-01-05 12:31:18 +01:00
templates/etc add environnement 2023-12-05 21:58:31 +01:00
.gitignore first commit 2023-10-08 20:28:47 +02:00
LICENSE first commit 2023-10-08 20:28:47 +02:00
README.md remove the update langages task as it is fix upstream 2024-01-05 12:31:18 +01:00
Vagrantfile first commit 2023-10-08 20:28:47 +02:00

Libretranslate - Ansible Role

This role covers deployment, configuration and software updates of Libretranslate. This role is released under MIT Licence and we give no warranty for this piece of software. Currently supported OS - Debian.

You can deploy test instance using Vagrantfile attached to the role.

vagrant up

ansible-playbook -b Playbooks/libretranslate.yml

Then you can access Roundcube from your computer on http://192.168.33.56

Playbook

The playbook includes nginx role and deploys entire stack needed to run Libretranslate. Additional role is also available in the Ansible roles repos in git.

Server configuration

You should have at least:

  • 3GB RAM
  • 25GB disk size

On the first run, the role downloads all packages, so be aware that it can be a bit long as this is about 8GB to be downloaded!

Then, when you first lauch libretranslate, it downloads all languages packages (around 8GB in .local/share/argos-translate/packages)

Updating

You just need to update the libretranslate_version var and to run the role to update.

If you want to update language models, restart libretranslate service service libretranslate restart

CHANGELOG

  • 05.12.2023 - Add possibility to choose version and to update models
  • 08.10.2023 - Create the role