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

    • thesequel@lemmy.mlOP
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      4 years ago

      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?

      • dandelion@lemmy.ml
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        4 years ago

        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).

        • Morys@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          3 years ago

          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.

          • Morys@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            3 years ago

            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?