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?
did you update the ansible config files to set myuser and myip to real things its in lemmy-ansible/hosts