ansible-collection-famedly-.../tasks/configure.yml

28 lines
523 B
YAML
Raw Normal View History

2018-07-30 14:56:33 +00:00
---
- name: Create directory for media storage
file:
name: "/opt/synapse/{{ item }}"
2018-07-30 14:56:33 +00:00
state: directory
owner: synapse
group: synapse
loop:
- media_store
- uploads
- ssl
2018-07-30 14:56:33 +00:00
- name: Deploy config
template:
src: "homeserver.yaml.j2"
dest: "/opt/synapse/homeserver.yaml"
owner: synapse
group: synapse
notify:
- "restart synapse"
- name: Configure logging
import_tasks: logging.yml
2018-07-30 14:56:33 +00:00
2018-12-03 22:29:19 +00:00
- name: Create certificates
2018-12-02 22:30:23 +00:00
include_tasks: ssl.yml
when: not matrix_synapse_skip_ssl