From last deployment, I discovered that you can not loop with `npm install --no-save --legacy-peer-deps ep_whatever` like we used to do, because it removes every other installed modules for some reason. So you have to do all at once like `npm install --no-save --legacy-peer-deps ep_whatever ep_whatever1 ep_whatever2 ep_whatever3`. This fixes this. Co-authored-by: meaz <meaz@disroot.org> Reviewed-on: #13 Reviewed-by: muppeth <muppeth@no-reply@disroot.org>
21 lines
504 B
YAML
21 lines
504 B
YAML
---
|
|
|
|
- name: '[CONFIGURE] - Create log file'
|
|
file:
|
|
path: "{{ etherpad_logfile }}"
|
|
state: touch
|
|
owner: "{{ etherpad_username }}"
|
|
group: "{{ etherpad_group }}"
|
|
mode: 0755
|
|
tags: configuration
|
|
|
|
- name: '[CONFIGURE] - Deploy config'
|
|
template:
|
|
src: var/www/etherpad-lite/settings.json.j2
|
|
dest: "{{ etherpad_app_dir }}/app/settings.json"
|
|
owner: "{{ etherpad_username }}"
|
|
group: "{{ etherpad_group }}"
|
|
mode: 0644
|
|
notify:
|
|
restart etherpad
|
|
tags: configuration
|