fixed remarks by meaz; added extra custom frontend config task
This commit is contained in:
parent
7730a68c9b
commit
19a6d51abe
2 changed files with 16 additions and 1 deletions
|
@ -49,7 +49,7 @@ pleroma_db_superuser: "postgres"
|
|||
pleroma_db_passwd: 'changeme'
|
||||
pleroma_db: "pleroma"
|
||||
pleroma_db_user: "admin"
|
||||
pleroma_data_dir: "/srv/pleroma_data/"
|
||||
pleroma_data_dir: "/srv/pleroma_data"
|
||||
pleroma_smtp: 'false'
|
||||
pleroma_ldap: 'false'
|
||||
pleroma_admin: 'true'
|
||||
|
@ -80,6 +80,11 @@ pleroma_frontends:
|
|||
- name: 'pleroma-fe'
|
||||
conf: 'pleroma'
|
||||
ref: 'develop'
|
||||
# If you want to upload custom config files for frontends, specify below using the example
|
||||
#pleroma_frontend_custom_configs:
|
||||
# - name: 'mangane'
|
||||
# filename: 'soapbox.json'
|
||||
# confpath: 'static/instance/soapbox.json'
|
||||
|
||||
#Postgres
|
||||
postgresql_version: 13
|
||||
|
|
|
@ -39,3 +39,13 @@
|
|||
owner: '{{ pleroma_user }}'
|
||||
group: '{{ pleroma_group }}'
|
||||
mode: 0775
|
||||
|
||||
- name: '[Frontend] - Add custom configs'
|
||||
copy:
|
||||
src: '{{pleroma_extra_files_path }}/{{ item.name }}/{{ item.filename }}'
|
||||
dest: '{{ pleroma_data_dir }}/static/frontends/{{ item.name }}/{{ item.confpath }}'
|
||||
owner: '{{ pleroma_user }}'
|
||||
group: '{{ pleroma_group }}'
|
||||
mode: 0775
|
||||
loop: '{{ pleroma_frontend_custom_configs }}'
|
||||
when: 'pleroma_frontend_custom_configs is defined'
|
||||
|
|
Loading…
Reference in a new issue