Commit graph

64 commits

Author SHA1 Message Date
Slavi Pantaleev 975dda54c9 Upgrade Dendrite (0.10.4 -> 0.10.5) 2022-10-31 21:34:14 +02:00
Sebastian Gumprich 48388a3d96 use fqcns for some task
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
2022-10-28 14:04:29 +02:00
Slavi Pantaleev 4cf85605a9 Upgrade Dendrite (0.10.3 -> 0.10.4) 2022-10-21 17:36:24 +03:00
Slavi Pantaleev 6f56b9fb38 Upgrade Dendrite (0.10.2 -> 0.10.3) 2022-10-14 18:17:08 +03:00
Shaleen Jain af910db583 dendrite: update config 2022-10-08 03:36:40 +05:30
Slavi Pantaleev 12d4e080fa Upgrade Dendrite (0.10.1 -> 0.10.2) 2022-10-07 21:36:44 +03:00
Darren Rambaud ec8daad805 dendrite: update image tag version
- update to v0.10.1 (https://github.com/matrix-org/dendrite/releases/tag/v0.10.1)
2022-09-30 12:08:18 -05:00
Darren Rambaud 851a52a532 dendrite: update tag image version
- update to 0.10.0 (https://github.com/matrix-org/dendrite/releases/tag/v0.10.0)
2022-09-30 08:35:26 -05:00
Darren Rambaud 59adb8d028 dendrite: update image tag version
- 0.9.9 (https://github.com/matrix-org/dendrite/releases/tag/v0.9.9)
2022-09-22 09:21:23 -05:00
Shaleen Jain 435c4f8b01
dendrite: update config to match upstream defaults 2022-09-17 14:33:29 +00:00
Aine 17e6c52cbf
Update Dendrite 0.9.7 -> 0.9.8 2022-09-13 13:53:45 +00:00
Slavi Pantaleev 8778c14fe2 Upgrade Dendrite (0.9.6 -> 0.9.7) 2022-09-09 21:04:07 +03:00
Shaleen Jain 0300c0e96e Update dendrite 0.9.5 -> 0.9.6
Remove appservice database setup/config as the latest update no longer requires it.
2022-09-02 09:31:17 +05:30
Silas e74e3c9e8f Correctly check number of arguments when creating a dendrite account
This is probably a continuation of changes made in d7ed672f7.
2022-09-01 22:23:02 -03:00
Slavi Pantaleev d0c0a204bc Fix --tags=register-user for Dendrite
Regression since 3f8cb96a18 - https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2048

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2057
2022-08-26 07:29:50 +03:00
Slavi Pantaleev c558e0ad02
Upgrade Dendrite (v0.9.4 -> v0.9.5) 2022-08-25 17:21:27 +03:00
Shaleen Jain f674afe5e8
appservice: add and use homeserver_container_* vars (#2045)
* appservice: add and use matrix_homeserver_* vars

* appservice: use the new vars

* Apply suggestions from code review

Co-authored-by: Slavi Pantaleev <slavi@devture.com>

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-08-24 08:38:12 +03:00
Slavi Pantaleev d7ed672f7f
Fix matrix-dendrite-create-account usage help 2022-08-24 06:59:08 +03:00
Shaleen Jain 3ff56bff1d dendrite: disabled registration by default 2022-08-23 21:41:59 +00:00
Shaleen Jain 3f8cb96a18 dendrite: fix user-registration command 2022-08-24 03:06:19 +05:30
Slavi Pantaleev f155d31224 Upgrade Dendrite (0.9.3 -> 0.9.4) 2022-08-19 15:19:43 +03:00
Slavi Pantaleev 12e423fb9d
Upgrade Dendrite (0.9.2 -> 0.9.3) 2022-08-15 12:59:49 +03:00
Slavi Pantaleev e1e2615daf Upgrade Dendrite (0.9.1 -> 0.9.2) 2022-08-12 19:54:10 +03:00
Charles Wright cad5d56011
Fix Dendrite extra arguments getting lost
Move the `matrix_dendrite_process_extra_arguments` line up so it doesn't get lost, and add a trailing backslash
2022-08-03 21:26:46 -05:00
Slavi Pantaleev 747e9dd57c Upgrade Dendrite (0.9.0 -> 0.9.1) 2022-08-03 21:44:28 +03:00
Slavi Pantaleev cc58167f4c Upgrade Dendrite (0.8.1 -> 0.9.0)
Looks like we've skipped a bunch of 0.8.x versions (up to 0.8.9)
and are jumping straight to 0.9.0.

This is untested. Judging by Dendrite's changelog, it shouldn't cause
any breakage though: https://github.com/matrix-org/dendrite/blob/v0.9.0/CHANGES.md
2022-08-01 21:45:59 +03:00
Maxdeso 75961359fb dendrite_recaptcha_siteverify_api 2022-07-21 20:54:56 +03:00
Slavi Pantaleev c1849ae888 Fix the remaining var-spacing ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#var-spacing
2022-07-18 15:33:41 +03:00
Slavi Pantaleev 1693c4ca1d Fix no-changed-when ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#no-changed-when
2022-07-18 15:08:10 +03:00
Slavi Pantaleev d073c7ecb3 More ansible-lint fixes 2022-07-18 13:01:19 +03:00
Slavi Pantaleev ddf18eadc7 More ansible-lint fixes 2022-07-18 13:01:17 +03:00
Slavi Pantaleev 34cdaade08 Use fully-qualified module names for builtin Ansible modules
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
2022-07-18 12:58:41 +03:00
Aine e149f33140
add/unify 'Project source code URL' link across all roles 2022-07-16 23:59:21 +03:00
Slavi Pantaleev e41fcf2746 Fix file name (vars.yaml -> vars.yml) to prevent confusion 2022-04-26 15:44:07 +03:00
Slavi Pantaleev 0364c6c634 Suppress old container cleanup (kill/rm) failures
People often report and ask about these "failures".
More-so previously, when the `docker kill/rm` output was collected,
but it still happens now when people do `systemctl status
matrix-something` and notice that it says "FAILURE".

Suppressing to avoid further time being wasted on saying "this is
expected".
2022-04-11 09:05:33 +03:00
SaltireSoul 515792790a uncomment push_server config 2022-04-09 21:41:35 +01:00
SaltireSoul 6925e26960 Dendrite 0.8.1 2022-04-09 02:55:48 +01:00
SaltireSoul e7978dbdca Dendrite 0.7.0 2022-04-05 03:40:37 +01:00
Aine 2da3768b20
Added retries to the docker pulls (#1701) 2022-03-17 17:37:11 +02:00
Jim Myhrberg eeca3c8dca
fix: avoid yaml being wrapped at column 80 via to_nice_yaml
The `to_nice_yaml` helper will by default wrap any string YAML values on
the first space after column 80. This can in worst case yield invalid
YAML syntax. More details in Ansible's documentation here:

https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#formatting-data-yaml-and-json

In short, you need to explicitly provide a custom width argument of a
high number of some kind to avoid the line wrapping.
2022-03-16 01:10:26 +00:00
Marko Weltzer 819574b8ba
Merge branch 'spantaleev:master' into master 2022-02-05 21:37:53 +01:00
Marko Weltzer 7e5b88c3b7 fix: all praise the allmighty yamllinter 2022-02-05 21:32:54 +01:00
Slavi Pantaleev 86c36523df Replace ExecStopPost with ExecStop
Reverts b1b4ba501f, 90c9801c56, a3c84f78ca, ..

I haven't really traced it (yet), but on some servers, I'm observing
`ansible-playbook ... --tags=start` completing very slowly, waiting
to stop services. I can't reproduce this on all Matrix servers I manage.
I suspect that either the systemd version is to blame or that some
specific service is not responding well to some `docker kill/rm` command.

`ExecStop` seems to work great in all cases and it's what we've been
using for a very long time, so I'm reverting to that.
2022-02-05 12:13:36 +02:00
Slavi Pantaleev 90c9801c56 Use ExecStopPost instead of ExecStop
This is the equivalent of b1b4ba501f for the matrix-dendrite role.
2022-01-07 16:00:51 +02:00
Slavi Pantaleev 61c0930325 Suppress output for ExecStartPre/ExecStop commands
This brings matrix-dendrite.service in line with all the other services.
2022-01-07 16:00:51 +02:00
Slavi Pantaleev 5c3c0d0d58 Set Dendrite's real_ip_header correctly 2022-01-07 16:00:51 +02:00
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.
2022-01-07 16:00:42 +02:00
Slavi Pantaleev 1dfe21944f Make matrix_homeserver_implementation influence matrix_IMPLEMENTATION_enabled, not the other way around
Doing this seems more reasonable and simpler.
2022-01-07 15:59:35 +02:00
Slavi Pantaleev 4139290cc9 Rename some variables for consistency 2022-01-07 15:59:35 +02:00
Slavi Pantaleev 2bd33e5cf2 Make --tags=register-user work for both Dendrite/Synapse
Also get rid of `--tags=update-user-password` in the
`matrix-dendrite` role, as what we had doesn't work.

We may be able to do it with some Ansible helper or something else.
For now, we'll omit this feature.
2022-01-07 15:59:35 +02:00