4
submitted 2 months ago* (last edited 1 month ago) by PriorityMotif@lemmy.world to c/lemmy_support@lemmy.ml

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

you are viewing a single comment's thread
view the rest of the comments
[-] PriorityMotif@lemmy.world 3 points 2 months ago* (last edited 2 months 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 2 points 2 months 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.

this post was submitted on 09 Feb 2025
4 points (100.0% liked)

Lemmy Support

4828 readers
18 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 6 years ago
MODERATORS