Slavi Pantaleev
058a54fd05
Add native Traefik support to Dimension
hace 3 años
Slavi Pantaleev
7b43ef34b7
Remove more hardcoded matrix-postgres references
hace 3 años
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.
hace 3 años
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.
hace 3 años
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
hace 3 años
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
hace 3 años
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
hace 3 años
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
hace 4 años
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)
hace 4 años
Aaron Raimist
fac497faa5
Fix comments in other roles
hace 4 años
b
07496069c8
rellocating variables for consistency
hace 4 años
b
5e97f5a4e6
fixed matrix_dimension_homeserver_federationUrl
hace 4 años
b
7756cc4c8e
replace port 8048 with matrix_synapse_container_default_federation_port
hace 4 años
Michael Collins
98e6cd685d
sync with previous repo
hace 4 años
Michael-GMH
89cb5a3d7a
GMH v0.4.2 update
hace 4 años
Ahmad Haghighi
e335f3fc77
rename matrix_global_registry to matrix_container_global_registry_prefix related to #990
Signed-off-by: Ahmad Haghighi <haghighi@fedoraproject.org>
hace 5 años
Ahmad Haghighi
f52a8b6484
use custom docker registry
hace 5 años
Michael
33ec5710d9
0.2.1 revision
hace 5 años
rakshazi
2f887f292c
added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility)
hace 5 años
Slavi Pantaleev
15f4cc924d
Rename variables (_database_db_name -> _database_name)
hace 5 años
Slavi Pantaleev
2a502db239
Add (SQLite + Postgres) support and automatic migration to matrix-dimension
hace 5 años
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.
hace 5 años
Slavi Pantaleev
ccabc82d4c
Use more fully-qualified container images
This is both for consistency with 93cc71cb69976c
and for making things more obvious.
hace 5 años
0hlov3
c19abe4a76
Changes matrix_dimension_integrations_ui_url from /riot to /element https://dimension.t2bot.io/
hace 5 años
Slavi Pantaleev
5da31ba579
Move configuration templates outside of defaults/main.yml files
hace 5 años
Chris van Dijk
3f4bc9b881
Move config supprt for unfederated dimension into group_vars
hace 5 años
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
hace 5 años
Slavi Pantaleev
721ca9b83f
Add missing publicUrl configuration for Dimension
Discussed in #282 (Github Issue).
hace 6 años
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).
hace 6 años
Slavi Pantaleev
44156fe659
Fix Ansible 2.8 deprecation in Dimension role
hace 6 años
Slavi Pantaleev
328d981b05
Fix undefined variables in mxisd and Dimension configuration
hace 6 años
Slavi Pantaleev
ab59cc50bd
Add support for more flexible container port exposing
Fixes #171 (Github Issue).
hace 6 años
Dan Arnfield
3abed49764
Fix jinja config for indented code blocks
hace 6 años
Sylvia van Os
75b1528d13
Add the possibility to pass extra flags to the docker container
hace 6 años
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
hace 7 años
Edgars Voroboks
610eef82b5
Add option to enable Dimension widgets serve sites with self signed certs
hace 7 años
Edgars Voroboks
1d8fd9792f
Fix Matrix homeserver name in Dimension configuration
hace 7 años
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`.
hace 7 años
Slavi Pantaleev
6c5cc173b0
Fix permission mode for some files
hace 7 años
Edgars Voroboks
5f13a1e50b
Generate Dimension config from variable
hace 7 años
Edgars Voroboks
1eb78ca93e
Add additional changes for Dimension to work
hace 7 años
Edgars Voroboks
9735a2f600
Implement self-hosted Dimension server
hace 7 años