Edit: the issue was cloudflare proxy. If you’re using cloudflare for dns, turn off proxying if you’re using lets encrypt.

I must be doing something wrong, because when i run the playbook I get an unconfigured nginx page at the ip of my server.

The instruction docs for ansible states:

Do not edit anything inside the {{ }} braces.

https://github.com/LemmyNet/lemmy-ansible/blob/main/examples/config.hjson

however that config file points to:

https://join-lemmy.org/docs/administration/configuration.html

  • PriorityMotif@lemmy.worldOP
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    15 days ago

    Thank you for the answer. should the password be in quotes?

    postgres_password: "{{ lookup('password', 'inventory/host_vars/{{ domain }}/passwords/postgres.psk chars=ascii_letters,digits') }}" # noqa yaml[line-length]

    postgres_password: "password"

    • asudox@lemmy.asudox.dev
      link
      fedilink
      arrow-up
      2
      ·
      15 days ago

      I’d say prefer single quotes for passwords as your password might have some special characters. Single quotes are raw strings, so nothing is escaped.