First of all. Your script is awesome. It’s so fckn fast and absoluty simple and genius.
So i was wondering if some of you guys can help me install the script on my server too?
Greets Manuel
What do you mean “install the script on your server”? If you follow the Ansible install instructions, you should have a fully working Lemmy instance on your server (assuming it finishes without errors).
I am now almost done. I have directly installed it on my ubuntu server so i need to add my password i guess.
fatal: [root@h2835324]: UNREACHABLE! => {“changed”: false, “msg”: “Failed to connect to the host via ssh: root@h2835324: Permission denied (publickey,password).”, “unreachable”: true}
which line do i have to add in inventory to add the password?
Maybe the problem is this:
Are trying to install Lemmy (executing Ansible) from the server where Lemmy will been working?
Assuming your error output comes from running Ansible :
In the line
myuser@example.com domain=example.com letsencrypt_contact_email=your@email.com lemmy_base_dir=/srv/lemmy
you should change myuser@example.com into your-username-for-ssh@your-ssh-hostname and then when you run Ansible it will ask for your ssh password (or for your ssh key passphrase).I have this problem too in trying to set up a new instance. Could you point me to something to help me understand how I can get a ssh connection working? The resources I’ve found so far (such as this ) don’t resolve it for me.
Still trying to get around this and struggling. The setup (ansible-playbook lemmy.yml --become) has a fatal error due to not being able to connect. Any further suggestions? I think I have the wrong x@x input, but I don’t know what I should be putting in there - at the moment using the server login and ip address?