ansible-collection-famedly-.../tasks/configure.yml
2019-02-12 02:42:05 +01:00

26 lines
490 B
YAML

---
- name: Create directory for media storage
file:
name: "/opt/synapse/{{ item }}"
state: directory
owner: synapse
group: synapse
loop:
- media_store
- uploads
- ssl
- 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
- name: Create certificates
include_tasks: crypto.yml