Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
434 B

---
- name: Configure random keys
copy: content={{ item.value }} dest={{ etherpad_root_dir }}/web/{{ item.file }}
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 }}/web/settings.json
notify: restart etherpad
tags: etherpad