this post was submitted on 09 Feb 2025
4 points (100.0% liked)
Lemmy Support
4731 readers
81 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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"
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.