diff --git a/ansible/inventory/runa.yml b/ansible/inventory/runa.yml index 3aae89c..a259a9f 100644 --- a/ansible/inventory/runa.yml +++ b/ansible/inventory/runa.yml @@ -28,15 +28,18 @@ runa: turn: realm: "turn-1.corp-serv.net" external_ip: "135.125.151.180/10.80.24.41" + matrix_service: "turn" mtx-turn-2.ankr.corp-services.app: turn: realm: "turn-2.corp-serv.net" external_ip: "135.125.151.177/10.80.24.42" + matrix_service: "turn" lat: hosts: mtx-elem-1.lat.internal.ru.com: docker_compose: - elementweb + matrix_service: "elementweb" mtx-elem-2.lat.internal.ru.com: docker_compose: - elementweb diff --git a/ansible/playbook/runa.yml b/ansible/playbook/runa.yml index ae3dd2d..faa8237 100644 --- a/ansible/playbook/runa.yml +++ b/ansible/playbook/runa.yml @@ -37,3 +37,9 @@ tags: - synapse when: matrix_service == "synapse" + - name: Add turn + include_role: + name: turn + tags: + - turn + when: matrix_service == "turn" diff --git a/ansible/roles/elementweb/files/docker-compose.yaml b/ansible/roles/elementweb/files/basedir/docker-compose.yaml similarity index 100% rename from ansible/roles/elementweb/files/docker-compose.yaml rename to ansible/roles/elementweb/files/basedir/docker-compose.yaml diff --git a/ansible/roles/elementweb/files/www/index.html b/ansible/roles/elementweb/files/basedir/www/index.html similarity index 100% rename from ansible/roles/elementweb/files/www/index.html rename to ansible/roles/elementweb/files/basedir/www/index.html