this post was submitted on 02 May 2022
1 points (100.0% liked)

Lemmy Administration

698 readers
3 users here now

Anything about running your own Lemmy instance. Including how to install it, maintain and customise it.

Be sure to check out the docs: https://join-lemmy.org/docs/en/administration/administration.html

If you have any problems, describe them here and we will try to help you fixing them.

founded 4 years ago
MODERATORS
 

Hello, trying to use Ansible https://github.com/LemmyNet/lemmy-ansible to install Lemmy on a OVH VPS.

  • Configured DNS and ping it is ok.
  • I can reach the server with a sudo user on SSH

Installed Ansible on my local machine and follow the steps.

When i execute:

$ ansible-playbook -i inventory/hosts lemmy.yml

I have this error (I replaced for this help request real username and real ip address)

PLAY [all] ************************************************************************************************************************************************************************************************************

TASK [check lemmy_base_dir] *******************************************************************************************************************************************************************************************
skipping: [myuser@myip]

TASK [install python for Ansible] *************************************************************************************************************************************************************************************
fatal: [myuser@myip]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: myuser@myip: Permission denied (publickey,password).", "unreachable": true}

PLAY RECAP ************************************************************************************************************************************************************************************************************
myuser@myip      : ok=0    changed=0    unreachable=1    failed=0    skipped=1    rescued=0    ignored=0

What am i missing?

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here