mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
15
roles/etherpad/tasks/conf.yml
Normal file
15
roles/etherpad/tasks/conf.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
|
||||
- name: Configure random keys
|
||||
copy: content={{ item.value }} dest={{ etherpad_root_dir }}/app/{{ item.file }} owner={{ etherpad_user }} group={{ etherpad_user }} mode=600
|
||||
loop:
|
||||
- file: SESSIONKEY.txt
|
||||
value: "{{ etherpad_session_key }}"
|
||||
- file: APIKEY.txt
|
||||
value: "{{ etherpad_api_key }}"
|
||||
tags: etherpad
|
||||
|
||||
- name: Deploy service configuration
|
||||
template: src=settings.json.j2 dest={{ etherpad_root_dir }}/app/settings.json
|
||||
notify: restart etherpad
|
||||
tags: etherpad
|
Reference in New Issue
Block a user