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?

  • mst
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    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.

    • LerajeOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

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

  • Dougie@lemmy.dougiverse.io
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Ansible works over SSH. You install Ansible on your local machine and it connects over SSH to run the playback.

    To your VPS it looks like a user has logged in and is running commands. It’s very useful for remote management of thousands of servers because you don’t need to install anything, they just need to have SSH enabled.

  • boblin@feddit.de
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

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

  • A10@kerala.party@kerala.party
    link
    fedilink
    English
    arrow-up
    1
    ·
    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