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).
Lemmy Administration
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.
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?
Assuming your error output comes from running Ansible :
In the line [email protected] domain=example.com [email protected] lemmy_base_dir=/srv/lemmy
you should change [email protected] 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?
Maybe the problem is this:
Are trying to install Lemmy (executing Ansible) from the server where Lemmy will been working?