You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lemmy/docs/src/administration_install_ansi...

886 B

Ansible Installation

This is the same as the Docker installation, except that Ansible handles all of it automatically. It also does some extra things like setting up TLS and email for your Lemmy instance.

First, you need to install Ansible on your local computer (e.g. using sudo apt install ansible) or the equivalent for you platform.

Then run the following commands on your local computer:

git clone https://github.com/LemmyNet/lemmy.git
cd lemmy/ansible/
cp inventory.example inventory
nano inventory # enter your server, domain, contact email
ansible-playbook lemmy.yml --become

To update to a new version, just run the following in your local Lemmy repo:

git pull origin master
cd ansible
ansible-playbook lemmy.yml --become