mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Make Ansible overwrite Lemmy config (fixes #1549)
This commit is contained in:
parent
df7fe705eb
commit
bcef79766a
@ -83,12 +83,11 @@
|
|||||||
pictshare_port: "8537"
|
pictshare_port: "8537"
|
||||||
iframely_port: "8538"
|
iframely_port: "8538"
|
||||||
|
|
||||||
- name: add config file (only during initial setup)
|
- name: add config file
|
||||||
template:
|
template:
|
||||||
src: 'templates/config.hjson'
|
src: 'templates/config.hjson'
|
||||||
dest: '{{lemmy_base_dir}}/lemmy.hjson'
|
dest: '{{lemmy_base_dir}}/lemmy.hjson'
|
||||||
mode: '0600'
|
mode: '0600'
|
||||||
force: false
|
|
||||||
owner: '1000'
|
owner: '1000'
|
||||||
group: '1000'
|
group: '1000'
|
||||||
vars:
|
vars:
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
{
|
{
|
||||||
# for more info about the config, check out the documentation
|
# For more info about the config, check out the documentation
|
||||||
# https://join.lemmy.ml/docs/en/administration/configuration.html
|
# https://join.lemmy.ml/docs/en/administration/configuration.html
|
||||||
|
#
|
||||||
|
# Do not change this file on the server, as rerunning Ansible will overwrite it
|
||||||
|
|
||||||
# settings related to the postgresql database
|
# settings related to the postgresql database
|
||||||
database: {
|
database: {
|
||||||
|
Loading…
Reference in New Issue
Block a user