Everytime I update my server using the ansible command it breaks the server by adding the old pictrs_url to the lemmy.hjson

using git pull and then running the ansible script to update break the lemmy server because it replaces the lemmy.hjson to have the old pictrs_url instead of

 pictrs: {
    url: "http://pictrs:8080/"
    # api_key: "API_KEY"
}

is there a way i can fix this so every update doesnt break the server requiring me to use the old helper script from .17.0 and manually update the lemmy.hjson?

7 points · 3 comments · view on lemmy.world

3 Comments

boulderly@lemmyadmin.site · 3 pts · 3y (1 reply)

you probably need to update config.hjson inside inventory/host_vars/<instance_name> ??

locally, in the lemmy-ansible/inventory... directory.

nxlemmy@lemmy.ml · 2 pts · 3y

ah yeah that seems to be it thanks.