etherpad/tasks/configure.yml
muppeth 48bd3bf10e Update to 2.0.2 (#19)
Bookworm requires npm as seperate package.

Co-authored-by: meaz <meaz@disroot.org>
Reviewed-on: #19
Reviewed-by: meaz <meaz@no-reply@disroot.org>
Co-authored-by: muppeth <muppeth@disroot.org>
Co-committed-by: muppeth <muppeth@disroot.org>
2024-05-13 22:49:52 +02:00

22 lines
490 B
YAML

---
- name: '[CONFIGURE] - Create log file'
file:
path: "{{ etherpad_logfile }}"
state: touch
owner: "{{ etherpad_username }}"
group: "{{ etherpad_group }}"
mode: 0755
tags: config
- 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: config