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