this post was submitted on 15 Jun 2023
11 points (92.3% liked)

Self Hosted - Self-hosting your services.

11211 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

I'm looking at the official docs but I'm a bit confused. I want to install Lemmy on a VPS but the fourth bullet point in the documentation says:

"Install Ansible on your local machine (do not install it on your destination server)."

And then the Install instructions start going about how to install it.

If Ansible is on my local machine how am I supposed to use it to install Lemmy on a VPS?

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago (1 children)

From my (admittedly very limited) understanding, Ansible is more "automation software" in that it has a controller which is responsible for issuing commands to clients.

So you run Ansible on your computer, it will communicate with your server over the internet and give it a list of instructions on how to install Lemmy.

[–] [email protected] 5 points 1 year ago

Ooooh, I see - that makes perfect sense. Thanks :)

[–] [email protected] 1 points 1 year ago

Test, does this work?

[–] [email protected] 1 points 1 year ago

ansible will run locally and connect to any remote machine. Your local host is the staging ground for rollouts with ansible.

[–] [email protected] 1 points 1 year ago

ansible will talk to the vps and do all the install work via docker containers

[–] [email protected] 1 points 1 year ago

Ansible will execute commands on the remote server via ssh. So you don't need Ansible on the remote server for setting up lemmy