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

Lemmy Support

4720 readers
4 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

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
[–] LastoftheDinosaurs@walledgarden.xyz 4 points 1 day ago (3 children)

vars.yml is looking for a directory and file that don't exist, and the readme doesn't mention creating them. If you set postgres_password manually, it should work.

[–] PriorityMotif@lemmy.world 3 points 1 day ago* (last edited 1 day ago) (1 children)

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 1 day 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.

load more comments (1 replies)