[etherpad] APIKEY

main
_shirenn 2022-12-21 18:05:33 +01:00
parent 157b3a6901
commit e41be3b518
3 changed files with 13 additions and 0 deletions

View File

@ -16,6 +16,7 @@ glob_etherpad:
admin: admin:
user: admin user: admin
password: "{{ vault.etherpad.admin.password }}" password: "{{ vault.etherpad.admin.password }}"
apikey: "{{ vault.etherpad.apikey }}"
temporary: temporary:
enabled: false enabled: false
@ -34,6 +35,7 @@ glob_etherpad:
admin: admin:
user: admin user: admin
password: "{{ vault.etherpad.admin.password }}" password: "{{ vault.etherpad.admin.password }}"
apikey: "{{ vault.etherpad.apikey }}"
temporary: temporary:
enabled: true enabled: true
delay: 31536000 # one year, in seconds delay: 31536000 # one year, in seconds

View File

@ -40,6 +40,16 @@
loop: "{{ etherpad.instances }}" loop: "{{ etherpad.instances }}"
notify: Restart Etherpad notify: Restart Etherpad
- name: Configure APIKEY
template:
src: etherpad/APIKEY.txt.j2
dest: etherpad/APIKEY.txt
mode: 0660
owner: etherpad
group: etherpad
loop: "{{ etherpad.instances }}"
notify: Restart Etherpad
- name: Install delete_after_delay module - name: Install delete_after_delay module
npm: npm:
name: ep_delete_after_delay name: ep_delete_after_delay

View File

@ -0,0 +1 @@
{{ item.apikey }}