matrix-docker-compose/ansible/playbook/runa.yml
2023-12-22 15:52:46 +01:00

52 lines
1.2 KiB
YAML

- name: Configure RUNA Matrix VMs
hosts: runa
tasks:
- name: Base
include_role:
name: base
tags:
- base
- name: Add synapse configuration
include_role:
name: synapse-base
tags:
- synapse
- logdir
when: matrix_service == "synapse" or matrix_service == "elementweb" or matrix_service == "turn"
# when: '"synapse" in docker_compose'
- name: SSL Certs
include_role:
name: ssl-certificates
tags:
- ssl
when: has_ssl_certificates
- name: Add docker-compose
include_role:
name: docker-compose
tags:
- docker
when: docker_compose or matrix_service
- name: Add elementweb
include_role:
name: elementweb
tags:
- elementweb
when: matrix_service == "elementweb"
- name: Add synapse
include_role:
name: synapse
tags:
- synapse
when: matrix_service == "synapse"
- name: Add turn
include_role:
name: turn
tags:
- turn
when: matrix_service == "turn"
- name: Add synapse-admin
include_role:
name: synapse-admin
tags:
- synapse-admin
when: matrix_service == "synapse-admin"