Slavi Pantaleev
c79f354dce
Move Dimension to the addons network and connect to Homeserver via matrix_addons_homeserver_client_api_url
2 yıl önce
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2 yıl önce
Slavi Pantaleev
058a54fd05
Add native Traefik support to Dimension
3 yıl önce
Slavi Pantaleev
7b43ef34b7
Remove more hardcoded matrix-postgres references
3 yıl önce
Slavi Pantaleev
410a915a8a
Move roles/matrix* to roles/custom/matrix*
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`,
similar to how it's done in:
- https://github.com/spantaleev/gitea-docker-ansible-deploy
- https://github.com/spantaleev/nextcloud-docker-ansible-deploy
In the near future, we'll be removing a lot of the shared role code from here
and using upstream roles for it. Some of the core `matrix-*` roles have
already been extracted out into other reusable roles:
- https://github.com/devture/com.devture.ansible.role.postgres
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base
- https://github.com/devture/com.devture.ansible.role.timesync
- https://github.com/devture/com.devture.ansible.role.vars_preserver
- https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages
- https://github.com/devture/com.devture.ansible.role.playbook_help
We just need to migrate to those.
3 yıl önce
Slavi Pantaleev
c73680712b
Fix (suppress) var-naming ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#var-naming
We don't really fix these, but just suppress them,
because they're like that intentionally.
We try to name variables in a way that is consistent with the
configuration key they control. If the upstream component uses
camelCase, we also need to include camelCase in the variable name.
3 yıl önce
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
3 yıl önce
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
3 yıl önce
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
3 yıl önce
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 yıl önce
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)
4 yıl önce
Aaron Raimist
fac497faa5
Fix comments in other roles
4 yıl önce
b
07496069c8
rellocating variables for consistency
4 yıl önce
b
5e97f5a4e6
fixed matrix_dimension_homeserver_federationUrl
4 yıl önce
b
7756cc4c8e
replace port 8048 with matrix_synapse_container_default_federation_port
4 yıl önce
Michael Collins
98e6cd685d
sync with previous repo
4 yıl önce
Michael-GMH
89cb5a3d7a
GMH v0.4.2 update
4 yıl önce
Ahmad Haghighi
e335f3fc77
rename matrix_global_registry to matrix_container_global_registry_prefix related to #990
Signed-off-by: Ahmad Haghighi <haghighi@fedoraproject.org>
4 yıl önce
Ahmad Haghighi
f52a8b6484
use custom docker registry
5 yıl önce
Michael
33ec5710d9
0.2.1 revision
5 yıl önce
rakshazi
2f887f292c
added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility)
5 yıl önce
Slavi Pantaleev
15f4cc924d
Rename variables (_database_db_name -> _database_name)
5 yıl önce
Slavi Pantaleev
2a502db239
Add (SQLite + Postgres) support and automatic migration to matrix-dimension
5 yıl önce
Slavi Pantaleev
0790a7b2a8
Add support for matrix_dimension_systemd_{required,wanted}_services_list
We were referencing them from `group_vars/matrix_servers` since
recently, but there were no such variables and they weren't being put to
use.
5 yıl önce
Slavi Pantaleev
ccabc82d4c
Use more fully-qualified container images
This is both for consistency with 93cc71cb69976c
and for making things more obvious.
5 yıl önce
0hlov3
c19abe4a76
Changes matrix_dimension_integrations_ui_url from /riot to /element https://dimension.t2bot.io/
5 yıl önce
Slavi Pantaleev
5da31ba579
Move configuration templates outside of defaults/main.yml files
5 yıl önce
Chris van Dijk
3f4bc9b881
Move config supprt for unfederated dimension into group_vars
5 yıl önce
Chris van Dijk
3ddb8cd148
Add support for running dimension in an unfederated environment
This config change follows:
https://github.com/turt2live/matrix-dimension/blob/master/docs/unfederated.md
5 yıl önce
Slavi Pantaleev
721ca9b83f
Add missing publicUrl configuration for Dimension
Discussed in #282 (Github Issue).
6 yıl önce
Slavi Pantaleev
7d3adc4512
Automatically force-pull :latest images
We do use some `:latest` images by default for the following services:
- matrix-dimension
- Goofys (in the matrix-synapse role)
- matrix-bridge-appservice-irc
- matrix-bridge-appservice-discord
- matrix-bridge-mautrix-facebook
- matrix-bridge-mautrix-whatsapp
It's terribly unfortunate that those software projects don't release
anything other than `:latest`, but that's how it is for now.
Updating that software requires that users manually do `docker pull`
on the server. The playbook didn't force-repull images that it already
had.
With this patch, it starts doing so. Any image tagged `:latest` will be
force re-pulled by the playbook every time it's executed.
It should be noted that even though we ask the `docker_image` module to
force-pull, it only reports "changed" when it actually pulls something
new. This is nice, because it lets people know exactly when something
gets updated, as opposed to giving the indication that it's always
updating the images (even though it isn't).
6 yıl önce
Slavi Pantaleev
44156fe659
Fix Ansible 2.8 deprecation in Dimension role
6 yıl önce
Slavi Pantaleev
328d981b05
Fix undefined variables in mxisd and Dimension configuration
6 yıl önce
Slavi Pantaleev
ab59cc50bd
Add support for more flexible container port exposing
Fixes #171 (Github Issue).
6 yıl önce
Dan Arnfield
3abed49764
Fix jinja config for indented code blocks
6 yıl önce
Sylvia van Os
75b1528d13
Add the possibility to pass extra flags to the docker container
6 yıl önce
NullIsNot0
596f2ec1e2
Make Dimension communicat to Synapse through Docker network
Media is pulled from client side, so we specify external Matrix DNS name as mediaUrl
7 yıl önce
Edgars Voroboks
610eef82b5
Add option to enable Dimension widgets serve sites with self signed certs
7 yıl önce
Edgars Voroboks
1d8fd9792f
Fix Matrix homeserver name in Dimension configuration
7 yıl önce
Slavi Pantaleev
4067e09409
Fix rare YAML parsing problems in Dimension config
It's been reported that YAML parsing errors
would occur on certain Ansible/Python combinations for some reason.
It appears that a bare `{{ matrix_dimension_admins }}` would sometimes
yield things like `[u'@user:domain.com', ..]` (note the `u` string prefix).
To prevent such problems, we now explicitly serialize with `|to_json`.
7 yıl önce
Slavi Pantaleev
6c5cc173b0
Fix permission mode for some files
7 yıl önce
Edgars Voroboks
5f13a1e50b
Generate Dimension config from variable
7 yıl önce
Edgars Voroboks
1eb78ca93e
Add additional changes for Dimension to work
7 yıl önce
Edgars Voroboks
9735a2f600
Implement self-hosted Dimension server
7 yıl önce