A couple questions about the lemmy-ansible instructions:
Step 1 - “Clone this repo: /lemmy-ansible.git”
QUESTION 1 - Clone it to my local machine, correct? (not directly onto the VPS)
ANSWER: - Yes, clone lemmy-ansible to local.
Step 2 - “Edit the config file”
QUESTION 2 - By default, config.hjson has values like hostname: “{{ domain }}” - and - password: “{{ postgres_password }}”.
-
Are those “{{values}}” automatically pulled from the hosts file?
-
or just directly edit them in the config.hjson file?
ANSWER: - Edit them directly in the config.hjson file.
Thank you for your patience.
I want to do it right / understand.
UPDATE: Installed Lemmy on VPS via SSH
Hi, I did not use the ansible playbook so I have no confirmation of what I’m saying here, just talking from my experience with ansible.
{{ values }}
are defined somewhere in your ansible inventory. For example{{ domain }}
is defined in thehosts
file you have to copy (domain=example.com
)