Merge "Install ep_headings module"

This commit is contained in:
Zuul 2020-04-11 16:59:35 +00:00 committed by Gerrit Code Review
commit 48fd1460a9
2 changed files with 16 additions and 1 deletions
playbooks/roles/etherpad

@ -76,12 +76,26 @@
src: settings.json.j2
dest: /etc/etherpad/settings.json
- name: Install docker-compose
- name: Install docker-compose and npm
package:
name:
- docker-compose
- npm
state: present
- name: Install ep_headings plugin
shell:
cmd: npm install ep_headings
chdir: /etc/etherpad
- name: Touch ep_initialize file
file:
path: /etc/etherpad/node_modules/ep_headings/.ep_initialized
# 5001 is the etherpad user in the container
owner: 5001
group: 5001
state: touch
- name: Run docker-compose pull
shell:
cmd: docker-compose pull

@ -23,3 +23,4 @@ services:
NODE_ENV: production
volumes:
- /etc/etherpad/settings.json:/opt/etherpad-lite/settings.json
- /etc/etherpad/node_modules/ep_headings:/opt/etherpad-lite/node_modules/ep_headings