mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 12:41:05 +01:00
Compare commits
No commits in common. "d138458b94886234f429a6fcc89c1900c9b4a0e1" and "a0d6f792790e5d90e0f488ee96584262b0d5928f" have entirely different histories.
d138458b94
...
a0d6f79279
@ -8,13 +8,5 @@ Matrix is an open-source project that provides a protocol for secure, decentrali
|
|||||||
|
|
||||||
This software uses https://github.com/spantaleev/matrix-docker-ansible-deploy as a base.
|
This software uses https://github.com/spantaleev/matrix-docker-ansible-deploy as a base.
|
||||||
|
|
||||||
## DANGER: Manuell deativation and deletion
|
|
||||||
Be carefull what you do. This code you can execute:
|
|
||||||
```
|
|
||||||
systemctl list-units --type=service | grep 'matrix' | awk '{print $1}' | xargs -I {} systemctl disable {} &&
|
|
||||||
systemctl list-units --type=service | grep 'matrix' | awk '{print $1}' | xargs -I {} systemctl stop {} &&
|
|
||||||
rm -rv /matrix/
|
|
||||||
```
|
|
||||||
|
|
||||||
## Alternativ Matrix Setup Role
|
## Alternativ Matrix Setup Role
|
||||||
An alternativ role to deploy Matrix you will find [here](../docker-matrix-compose/)
|
An alternativ role to deploy Matrix you will find [here](../docker-matrix-compose/)
|
@ -17,17 +17,17 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
#- name: "create {{docker_compose_instance_directory}}mautrix_whatsapp"
|
- name: "create {{docker_compose_instance_directory}}mautrix_whatsapp"
|
||||||
# file:
|
file:
|
||||||
# path: "{{docker_compose_instance_directory}}mautrix_whatsapp"
|
path: "{{docker_compose_instance_directory}}mautrix_whatsapp"
|
||||||
# state: directory
|
state: directory
|
||||||
# mode: 0755
|
mode: 0755
|
||||||
#
|
|
||||||
#- name: add whatsapp-bridge-config.yml
|
- name: add whatsapp-bridge-config.yml
|
||||||
# template:
|
template:
|
||||||
# src: "whatsapp-bridge-config.yml.j2"
|
src: "whatsapp-bridge-config.yml.j2"
|
||||||
# dest: "{{docker_compose_instance_directory}}mautrix_whatsapp/config.yml"
|
dest: "{{docker_compose_instance_directory}}mautrix_whatsapp/config.yml"
|
||||||
# notify: recreate matrix
|
notify: recreate matrix
|
||||||
|
|
||||||
- name: add element-config.json
|
- name: add element-config.json
|
||||||
template:
|
template:
|
||||||
|
@ -12,7 +12,7 @@ database:
|
|||||||
name: psycopg2
|
name: psycopg2
|
||||||
args:
|
args:
|
||||||
user: matrix
|
user: matrix
|
||||||
password: "{{matrix_database_password}}"
|
password: {{matrix_database_password}}
|
||||||
database: matrix
|
database: matrix
|
||||||
host: database
|
host: database
|
||||||
cp_min: 5
|
cp_min: 5
|
||||||
|
@ -3,7 +3,7 @@ homeserver:
|
|||||||
# The address that this appservice can use to connect to the homeserver.
|
# The address that this appservice can use to connect to the homeserver.
|
||||||
address: https://{{synapse_domain}}
|
address: https://{{synapse_domain}}
|
||||||
# The domain of the homeserver (for MXIDs, etc).
|
# The domain of the homeserver (for MXIDs, etc).
|
||||||
domain: "{{synapse_domain}}"
|
domain: {{synapse_domain}}
|
||||||
|
|
||||||
# What software is the homeserver running?
|
# What software is the homeserver running?
|
||||||
# Standard Matrix homeservers like Synapse, Dendrite and Conduit should just use "standard" here.
|
# Standard Matrix homeservers like Synapse, Dendrite and Conduit should just use "standard" here.
|
||||||
|
@ -204,7 +204,6 @@
|
|||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- role: docker-matrix-ansible
|
- role: docker-matrix-ansible
|
||||||
when: matrix_role == 'ansible'
|
|
||||||
vars:
|
vars:
|
||||||
domains:
|
domains:
|
||||||
- "{{domain_matrix_element}}"
|
- "{{domain_matrix_element}}"
|
||||||
@ -212,13 +211,14 @@
|
|||||||
element_domain: "{{domain_matrix_element}}"
|
element_domain: "{{domain_matrix_element}}"
|
||||||
synapse_domain: "{{domain_matrix_synapse}}"
|
synapse_domain: "{{domain_matrix_synapse}}"
|
||||||
http_port: 8021
|
http_port: 8021
|
||||||
|
when: matrix_role == 'ansible'
|
||||||
- role: docker-matrix-compose
|
- role: docker-matrix-compose
|
||||||
when: matrix_role == 'compose'
|
|
||||||
vars:
|
vars:
|
||||||
element_domain: "{{domain_matrix_element}}"
|
element_domain: "{{domain_matrix_element}}"
|
||||||
synapse_domain: "{{domain_matrix_synapse}}"
|
synapse_domain: "{{domain_matrix_synapse}}"
|
||||||
synapse_http_port: 8021
|
synapse_http_port: 8021
|
||||||
element_http_port: 8022
|
element_http_port: 8022
|
||||||
|
when: matrix_role == 'compose'
|
||||||
|
|
||||||
- name: setup open project instances
|
- name: setup open project instances
|
||||||
hosts: openproject
|
hosts: openproject
|
||||||
|
Loading…
Reference in New Issue
Block a user