mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 14:11:03 +01:00
Solved bug
This commit is contained in:
parent
1f41d3a6bc
commit
b41e63fb8a
@ -22,6 +22,17 @@
|
|||||||
database_name: "{{ item.database_name }}"
|
database_name: "{{ item.database_name }}"
|
||||||
loop: "{{ bridges }}"
|
loop: "{{ bridges }}"
|
||||||
|
|
||||||
|
# The following taks are necessary because a clean setup is necessary
|
||||||
|
- name: shut down docker compose project
|
||||||
|
command:
|
||||||
|
cmd: docker-compose -p "{{docker_compose_project_name}}" down
|
||||||
|
chdir: "{{ docker_compose_instance_directory }}"
|
||||||
|
|
||||||
|
- name: "cleanup project folder"
|
||||||
|
file:
|
||||||
|
path: "{{docker_compose_instance_directory}}"
|
||||||
|
state: absent
|
||||||
|
|
||||||
- name: "create registrations folder"
|
- name: "create registrations folder"
|
||||||
file:
|
file:
|
||||||
path: "{{docker_compose_instance_directory}}registrations"
|
path: "{{docker_compose_instance_directory}}registrations"
|
||||||
@ -41,6 +52,7 @@
|
|||||||
dest: "{{docker_compose_instance_directory}}{{item.bridge_name}}/config.yaml"
|
dest: "{{docker_compose_instance_directory}}{{item.bridge_name}}/config.yaml"
|
||||||
notify: docker compose project setup
|
notify: docker compose project setup
|
||||||
loop: "{{ bridges }}"
|
loop: "{{ bridges }}"
|
||||||
|
notify: docker compose project setup
|
||||||
|
|
||||||
- name: add element configuration
|
- name: add element configuration
|
||||||
template:
|
template:
|
||||||
@ -50,13 +62,13 @@
|
|||||||
|
|
||||||
- name: add synapse homeserver configuration
|
- name: add synapse homeserver configuration
|
||||||
template:
|
template:
|
||||||
src: "synapse.homeserver.config.j2"
|
src: "synapse/homeserver.yaml.j2"
|
||||||
dest: "{{docker_compose_instance_directory}}homeserver.yaml"
|
dest: "{{docker_compose_instance_directory}}homeserver.yaml"
|
||||||
notify: docker compose project setup
|
notify: docker compose project setup
|
||||||
|
|
||||||
- name: add synapse log configuration
|
- name: add synapse log configuration
|
||||||
template:
|
template:
|
||||||
src: "synapse.log.config.j2"
|
src: "synapse/log.config.j2"
|
||||||
dest: "{{docker_compose_instance_directory}}{{synapse_domain}}.log.config"
|
dest: "{{docker_compose_instance_directory}}{{synapse_domain}}.log.config"
|
||||||
notify: docker compose project setup
|
notify: docker compose project setup
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ services:
|
|||||||
|
|
||||||
synapse:
|
synapse:
|
||||||
image: matrixdotorg/synapse:latest
|
image: matrixdotorg/synapse:latest
|
||||||
container_name: mautrix-synapse
|
container_name: matrix-synapse
|
||||||
restart: {{docker_restart_policy}}
|
restart: {{docker_restart_policy}}
|
||||||
logging:
|
logging:
|
||||||
driver: journald
|
driver: journald
|
||||||
@ -25,7 +25,7 @@ services:
|
|||||||
|
|
||||||
element:
|
element:
|
||||||
image: vectorim/element-web:latest
|
image: vectorim/element-web:latest
|
||||||
container_name: mautrix-element
|
container_name: matrix-element
|
||||||
restart: {{docker_restart_policy}}
|
restart: {{docker_restart_policy}}
|
||||||
volumes:
|
volumes:
|
||||||
- ./element-config.json:/app/config.json
|
- ./element-config.json:/app/config.json
|
||||||
|
Loading…
Reference in New Issue
Block a user