Julian-Samuel Gebühr
8ecdfc3ed6
Automatically enable admin api access via nginx ( #1830 )
3 years ago
Devin Dooley
cbb924dec7
Support ansible vault strings for homeserver secret key
3 years ago
Slavi Pantaleev
49da9c76ac
Merge pull request #1782 from etkecc/matrix-bot-buscarron
...
add matrix-bot-buscarron
3 years ago
Slavi Pantaleev
47e5bab784
Fix self-building if condition
3 years ago
Matthew Cengia
c83c70ac35
Don't self-build signald image on arm64, as upstream image exists
3 years ago
Aine
290754371a
add matrix-bot-buscarron
3 years ago
Julian-Samuel Gebühr
90a142439a
Add matrix-registration-bot ( #1771 )
...
* Add matrix-registration-bot
This adds an install and uninstall task plus helpers. The bot is disabled by default.
This commit does not include documentation, yet. In short, the bot can be enabled by adding
matrix_bot_matrix_registration_bot_enabled: true
matrix_bot_matrix_registration_bot_matrix_user_password: "verysecret"
matrix_bot_matrix_registration_bot_matrix_admin_token: "supersecret"
to the host_vars
* Change bot username to bot.matrix-registration-bot following convention
* Address smaller remarks, fix local docker build
* Switch to an env file
* Add environment variables extension for additional config
* Add documentation for the matrix-registration-bot
* Add screenshot on how to obtain admin access token
* Use bot as admin to only have one access token (bot and admin api)
* Use cleaner setting of matrix_synapse_registration_requires_token
* Use config file for cleaner more secure usage
* Delete unneeded env
* Rename vars to make usage clear
* Fix typos/wording and add notice about logging out
* Convert configuration to use |to_json
* Reorder role includes
Nothing should be after `matrix-common-after`.
`matrix-bot-matrix-registration-bot` can probably be anywhere, but it makes sense to put it next to the other `matrix-bot-*` roles.
* Minor group_vars/matrix_servers touchups
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
3 years ago
Aine
d5f4c17146
matrix-backup-borg: integrate postgres backups, add extended borgmatic configuration
3 years ago
HarHarLinks
a9e6538ef8
Upgrade Hookshot (1.3.0 -> 1.4.0)
...
https://github.com/matrix-org/matrix-hookshot/releases/tag/1.4.0
3 years ago
HarHarLinks
ceb2f54970
Make hookshot hardcoded public URLs dynamic
3 years ago
Hefty Zauk
03d2dcc996
Move into coturn defaults
3 years ago
heftyzauk
268b079374
Revert Coturn Address Change, add new Addresses var ( #2 )
3 years ago
heftyzauk
29847627f1
Multi-IP coturn
...
Add support for multiple external turn IP addresses, this allows for better comptability with dualstack ipv4/ipv6 hosts, and is supported as per the documentation (point 6 here: https://matrix-org.github.io/synapse/latest/turn-howto.html#configuration )
3 years ago
PC-Admin
ab3e02c7fd
Remove matrix-awx sections
3 years ago
Slavi Pantaleev
db4b6efb5d
Force self-building of matrix-hookshot on arm64
...
The `halfshot/matrix-hookshot` container images published to Docker Hub
(as of 2022-04-05, at least) are only available for `amd64`, not for
`arm64`. Self-building on arm64 is necessary.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1728
It should be noted that a `roiarthurb/matrix-hookshot` container image is available,
which is available for the arm64 platform, but that's non-official and doesn't
contain an amd64 build, so it's of limited use.
3 years ago
Aine
a5a3769ca9
add borg backup ( #1727 )
...
* add borg backup
* lint fix
* add exlclude patterns
* missed in the #1726 fix for honoroit
* feedback
* Fix indentation
* feedback
* feedback
* feedback
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
3 years ago
Slavi Pantaleev
b9d6f8b90f
Merge pull request #1728 from RoiArthurB/hookshot-arm64
...
Add hookshot self build for arm64 and amd64
3 years ago
SaltireSoul
e7978dbdca
Dendrite 0.7.0
3 years ago
Arthur Brugière
1ce891fc70
Revert group_var wrong part reindent
3 years ago
RoiArthurB
b38c7371a9
[STEAM] Move docker source from icewind1991 to tilosp fixed repo
3 years ago
Arthur Brugière
b3176957c3
Add hookshot self build for arm64 and amd64
3 years ago
Slavi Pantaleev
958d089b68
Do not install the ma1sd identity server by default
...
As mentioned in the changelog, this is a breaking change.
3 years ago
Slavi Pantaleev
1df3e2a967
Merge pull request #1694 from HarHarLinks/master
...
add default for matrix_prometheus_scraper_hookshot_enabled
3 years ago
Slavi Pantaleev
5eb514b08b
Use |default instead of merely casting to bool
3 years ago
Kim Brose
9c58f2a98a
default matrix_prometheus_scraper_hookshot_enabled
3 years ago
László Várady
9de677942d
bridge-mautrix-facebook: add support for web-based login
3 years ago
Slavi Pantaleev
69d2da4d44
Fix whitespace inconsistency
3 years ago
Slavi Pantaleev
1895b01810
Move matrix_container_global_registry_prefix to matrix-base
...
Various roles depend on this. It makes sense to make it part
of the `matrix-base` role.
3 years ago
Slavi Pantaleev
8c25ade9fb
Rework matrix_mautrix_twitter_database_* variables a bit
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1682
Previously, when matrix-postgres was disabled, we were setting
`matrix_mautrix_twitter_database_engine` to an invalid empty value.
Now, we always hardcode `matrix_mautrix_twitter_database_engine: postgres`,
but set/unset the database hostname and password values instead.
3 years ago
Kim Brose
648001875e
Fix for old jinja versions
...
Co-authored-by: Procuria <37988494+Procuria@users.noreply.github.com>
3 years ago
HarHarLinks
d556952bb6
update hookshot to respect protocol and custom ports
3 years ago
Marko Weltzer
8e8bf55e15
fix: missing spaces on closing }
3 years ago
Marko Weltzer
819574b8ba
Merge branch 'spantaleev:master' into master
3 years ago
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
3 years ago
Slavi Pantaleev
ccb85b31a4
Upgrade devture/email2matrix (1.0.1 -> 1.0.2) and disable self-building on ARM32/ARM64
...
1.0.2 is the first container image tag that is available as a multi-arch image
with support for linux/amd64, linux/arm64/v8 (arm64) and linux/arm/v7 (arm32),
so self-building is no longer necessary on all these platforms.
3 years ago
Slavi Pantaleev
1099ccab43
Upgrade devture/exim-relay (4.95-r0 -> 4.95-r0-1) and disable self-building on ARM32/ARM64
...
4.95-r0-1 is the first container image tag that is available as a multi-arch image
with support for linux/amd64, linux/arm64/v8 (arm64) and linux/arm/v7 (arm32),
so self-building is no longer necessary on all these platforms.
3 years ago
Slavi Pantaleev
e295c90d0b
Merge pull request #1505 from HarHarLinks/hookshot
...
add matrix-hookshot
3 years ago
Slavi Pantaleev
4a4d718f7c
Upgrade matrix-corporal (2.2.2 -> 2.2.3) and disable self-building on ARM32/ARM64
...
2.2.3 is the first container image tag that is available as a multi-arch image
with support for linux/amd64, linux/arm64/v8 (arm64) and linux/arm/v7 (arm32),
so self-building is no longer necessary on all these platforms.
3 years ago
HarHarLinks
39d9ef43e9
fixup! update hookshot config to generic hs variables
3 years ago
HarHarLinks
2a91a43b32
Merge remote-tracking branch 'origin/master' into hookshot
3 years ago
HarHarLinks
54d8d0ec38
simplify hookshot conditional for readability
3 years ago
HarHarLinks
c264d670e8
update hookshot config to generic hs variables
3 years ago
Kim Brose
44ae8d3b92
refine etherpad in nginx wanted services condition
3 years ago
Kim Brose
a9dd397771
add etherpad to nginx wanted services
...
it's required if enabled by the dimension config here:
6eb8fb8392/roles/matrix-etherpad/tasks/init.yml (L42-L49)
see also #1517
3 years ago
HarHarLinks
321ed9b609
Merge remote-tracking branch 'origin/master' into hookshot
3 years ago
HarHarLinks
08fe38cf40
add hookshot to nginx wanted services
...
related 0fb881deb5
3 years ago
HarHarLinks
224633df1d
fix condition for matrix_hookshot_container_http_host_bind_ports
3 years ago
HarHarLinks
2b97ab9a51
fix matrix_hookshot_container_http_host_bind_ports
3 years ago
HarHarLinks
3a766d4ba5
proxy hookshot metrics when proxying synapse metrics
...
see also #1527
3 years ago
Slavi Pantaleev
0fb881deb5
Update the "wanted systemd services" list for matrix-nginx-proxy/matrix-grafana
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1517
3 years ago
HarHarLinks
87871040df
add hookshot metrics to internal prometheus
3 years ago
HarHarLinks
1987cc4839
refine hookshot role
3 years ago
Aine
a83b880f72
matrix-bot-honoroit: feedback
3 years ago
Aine
4377c348c5
matrix-bot-honoroit: disable self-build by default, update to v0.9.1
3 years ago
HarHarLinks
e0f2aa9de8
refactor matrix_hookshot_container_http_host_bind_ports
3 years ago
Slavi Pantaleev
7b093c5ae0
Move some variables to a more appropriate location
3 years ago
Slavi Pantaleev
19b5a50805
Derive Honoroit database password from matrix_homeserver_generic_secret_key
...
Related to the work done in https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/818
3 years ago
Slavi Pantaleev
5c3c0d0d58
Set Dendrite's real_ip_header correctly
3 years ago
Slavi Pantaleev
05b4572fab
Fix matrix_dimension_homeserver_federationUrl for Dendrite
3 years ago
Slavi Pantaleev
de49cc5271
Fix matrix_registration_shared_secret for Dendrite
3 years ago
Slavi Pantaleev
593fc2fa85
Replace matrix-synapse.service references with more homeserver-neutral references
3 years ago
Slavi Pantaleev
38ad152c03
Add Dendrite-awareness to matrix_homeserver_container_url when matrix-nginx-proxy disabled
3 years ago
Slavi Pantaleev
bbbfc0708f
Derive matrix_coturn_turn_static_auth_secret from matrix_homeserver_generic_secret_key
...
Doing this further simplifies examples/vars.yml.
3 years ago
Slavi Pantaleev
965890bf75
Derive secrets from matrix_homeserver_generic_secret_key, not matrix_synapse_macaroon_secret_key
...
We're trying to move away from implementation-specific variables,
hoping for a clean (implementation-neutral) examples/vars.yml file.
3 years ago
Slavi Pantaleev
1dfe21944f
Make matrix_homeserver_implementation influence matrix_IMPLEMENTATION_enabled, not the other way around
...
Doing this seems more reasonable and simpler.
3 years ago
Slavi Pantaleev
4139290cc9
Rename some variables for consistency
3 years ago
Slavi Pantaleev
32bbcf5ed6
Fix incorrect definition
3 years ago
Slavi Pantaleev
38ec546b8b
Only trust own identity server in Dendrite config, if ma1sd enabled
3 years ago
Slavi Pantaleev
ecc237bbad
Initial work on getting nginx reverse proxying working with Dendrite
3 years ago
Slavi Pantaleev
3cf9f87097
Add matrix_homeserver_implementation, tracking the current homeserver implementation
...
The goal is to have a single variable which tells us which homeserver
software is in use. Much simpler than having if/elif/elif checks for
variables like (`matrix_synapse_enabled` and `matrix_dendrite_enabled`, etc.)
everywhere.
3 years ago
Slavi Pantaleev
5b148921a0
Upgrade Dendrite (0.3.11 -> 0.5.0) and update configuration
...
This brings dendrite.yaml up to date and cleans things up a bit.
3 years ago
Jip J. Dekker
07af05690c
Add initial role for Dendrite as alternative Matrix server
3 years ago
rakshazi
d9dd524db3
self-build consistency: rename vars everywhere
3 years ago
Slavi Pantaleev
b0c801a497
Rename variable for consistency (matrix_bot_honoroit_container_self_build -> matrix_bot_honoroit_container_image_self_build)
...
Discussed in https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1514
3 years ago
rakshazi
407e8c4940
added honoroit
3 years ago
rakshazi
490f11ba0d
matrix-client-cinny: self_build feedback"
3 years ago
rakshazi
5788a16a2e
added matrix-client-cinny
3 years ago
HarHarLinks
621251c1e5
hookshot role groundwork
3 years ago
Slavi Pantaleev
dcab14d9a8
Add self-building support to Beeper LinkedIn bridge
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1480
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1242
3 years ago
Shreyas Ajjarapu
25ced724ac
Update matrix_servers
3 years ago
Matthew Cengia
0f49ce0638
Set up vars for mautrix-twitter playbook
...
* Copy/update mautrix_facebook group_vars to mautrix_twitter
* Replace facebook -> twitter, fb -> twt, remove presence var
* Enable playbook in setup.yml
3 years ago
Slavi Pantaleev
fc55df9318
Make some appservices reach the homeserver via nginx
...
This is useful when Synapse is using a worker setup. In that case,
we don't want appservices to connect to `matrix-synapse:8008`, because
not all APIs are exposed there.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1449
3 years ago
John M
286871b9b5
Add self-build for Dimension
...
Add a self-build option for the Dimension Dockerfile.
- This helps further support arm64 hosts (i.e. A1.Flex w/Oracle)
3 years ago
Christos Karamolegkos
ab60238518
Support encrypted matrix_synapse_macaroon_secret_key
...
This change forces ansible to decrypt the variable with ansible-vault if encrypted, to avoid the error '{"msg": "Unexpected templating type error occurred on ({{ matrix_synapse_macaroon_secret_key | password_hash('sha512') }}): secret must be unicode or bytes, not ansible.parsing.yaml.objects.AnsibleVaultEncryptedUnicode"}'
Every other variable in the playbook was found to have no problems with encryption.
The change has no negative impact on non-encrypted matrix_synapse_macaroon_secret_key.
3 years ago
Slavi Pantaleev
b4fb819481
Merge pull request #1403 from borisrunakov/rename-matrix-ma1sd-default-port
...
remove default from variable name
3 years ago
boris runakov
394ecb0acc
remove default from variable name
3 years ago
boris runakov
d3a9ec98de
refactoring
3 years ago
boris runakov
1ec67f49b0
replaced 8008 where possible
3 years ago
Slavi Pantaleev
c1bc7b9f93
Rename variables to prevent confusion
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1397
and https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1399
3 years ago
b
07496069c8
rellocating variables for consistency
3 years ago
b
7756cc4c8e
replace port 8048 with matrix_synapse_container_default_federation_port
3 years ago
borisrunakov
9688d071a8
fix matrix_synapse_account_threepid_delegates_email and matrix_synapse_account_threepid_delegates_msisdn ( #1370 )
...
* fix for string concatenation on matrix_synapse_account_threepid_delegates_email and matrix_synapse_account_threepid_delegates_msisdn
* .editorconfig should not be ignored
* Restore .gitignore
Co-authored-by: b <b@b>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
3 years ago
b
dcda17595a
change port 8090 to matrix_ma1sd_default_port
3 years ago
Slavi Pantaleev
06bcdcf9d2
Merge pull request #1311 from HarHarLinks/master
...
add auto proxy synapse worker metrics
3 years ago
HarHarLinks
4209c4208c
add own variable for worker metrics
...
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1311#issuecomment-945718866
3 years ago
Slavi Pantaleev
6937a2c0a9
Ensure password_hash salt is less than 16 chars
...
Also fixes the appservice and homeserver tokens for the Googlechat bridge,
so that they're not the same as the ones for the Hangouts bridge.
3 years ago
Luke
1dac525e63
Added Mautrix Google Chat
3 years ago
Slavi Pantaleev
fb709152f3
Add self-building support for mautrix-whatsapp
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1322
3 years ago
Slavi Pantaleev
b5d8444764
Add self-building support to matrix-bridge-appservice-webhooks
3 years ago
Slavi Pantaleev
2ec06b7477
Merge pull request #1242 from apmechev/add_beeper_linkedin_bridge
...
Add beeper LinkedIn bridge
3 years ago