Commit Graph

61 Commits

Author SHA1 Message Date
Slavi Pantaleev 7d26dabc2f Add defaults for matrix_hookshot_queue_host and matrix_hookshot_queue_port 2023-12-16 09:08:19 +02:00
Slavi Pantaleev 74f91138c9 Fix syntax for connecting to additional networks for Hookshot 2023-12-16 09:06:17 +02:00
Slavi Pantaleev ca7b41f3f2 Fix indentation and remove unnecessary if-statements 2023-12-16 09:05:28 +02:00
Slavi Pantaleev ac4a918d58 Add missing --network for Hookshot
This seems to have been removed by accident.
2023-12-16 09:04:44 +02:00
Joshua Hoffmann 98ad182eac Add defaults for Hookshot's encryption 2023-12-15 22:37:40 +01:00
Joshua Hoffmann 4f835e0560 use safer mount options for the container's files 2023-12-15 22:28:52 +01:00
Joshua Hoffmann 8c93327e25 fix filename 2023-12-15 22:26:01 +01:00
Joshua Hoffmann 03a7bb6e77 Merge branch 'HarHarLinks/hookshot-encryption' of https://github.com/real-joshua/matrix-docker-ansible-deploy into HarHarLinks/hookshot-encryption 2023-12-15 22:23:44 +01:00
Joshua Hoffmann 06047763bb Update roles/custom/matrix-bridge-hookshot/templates/config.yml.j2
change the if statement to not require a variable with a length > 0 and add a filter to json for the redis host

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2023-12-15 22:15:54 +01:00
Joshua Hoffmann e55d769465 clarify that Redis is required, standardadise on Hookshot with an upper-case first letter for consistency 2023-12-15 22:13:50 +01:00
Joshua Hoffmann 66706e4535 Update roles/custom/matrix-bridge-hookshot/templates/config.yml.j2
fix for a typo

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2023-12-15 22:08:20 +01:00
Joshua Hoffmann f6aaeb9a16 Merge branch 'master' into HarHarLinks/hookshot-encryption 2023-12-15 00:22:34 +01:00
Joshua Hoffmann e5d34002fd Add Jinja loop to allow adding multiple networks 2023-12-15 00:09:27 +01:00
Joshua Hoffmann 69f947782d split if statements for the message queue and experimental encryption support into seperate statements 2023-12-14 23:52:41 +01:00
Joshua Hoffmann 4c13be1c89 change variable name per spantaleev's suggestion (https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2979#discussion_r1379015551) 2023-12-14 23:31:19 +01:00
renovate[bot] 308b816d0c Update halfshot/matrix-hookshot Docker tag to v4.7.0 2023-12-06 14:28:23 +00:00
Slavi Pantaleev 2511b34a7c Stop containers gracefully, instead of outright killing them 2023-12-06 11:52:23 +02:00
renovate[bot] d6db0ef729 Update halfshot/matrix-hookshot Docker tag to v4.6.0 2023-11-20 19:04:00 +00:00
HarHarLinks 94abf2d5bd draft encryption support for hookshot 2023-11-01 16:05:22 +01:00
Samuel Meenzen c846ed199b Annotate version numbers with renovate metadata 2023-10-06 14:14:03 +02:00
Aine 676c380477 Update hookshot 4.5.0 -> 4.5.1 2023-09-26 18:45:32 +03:00
Aine 250a7845e9 Update hookshot 4.4.1 -> 4.5.0 2023-09-26 15:35:42 +03:00
Slavi Pantaleev 2a56fe09c3 Upgrade Hookshot (4.4.0 -> 4.4.1)
Related to: https://matrix.org/blog/2023/07/bridges-security-updates/
2023-07-31 18:41:52 +03:00
Aine 47b643f870 Update hookshot 4.3.0 -> 4.4.0 2023-06-28 21:55:31 +03:00
Slavi Pantaleev 0174840296 Upgrade Hookshot (4.2.0 -> 4.3.0) 2023-06-19 18:02:36 +03:00
Aine 0ce0a62eb7 Update hookshot 4.0.0 (4.1.0?) -> 4.2.0 2023-06-06 23:48:08 +03:00
Luke Moch e4498f9568 Fix for hookshot validation failure 2023-06-02 06:23:30 -04:00
Slavi Pantaleev e53c6c8020 Revert "Revert "Update hookshot 4.0.0 -> 4.1.0""
This reverts commit f98f803b44.

As the docker image has been released for this version we can now upgrade to this version
2023-06-01 02:13:27 +02:00
Slavi Pantaleev f98f803b44 Revert "Update hookshot 4.0.0 -> 4.1.0"
This reverts commit 428f7a1f75.

Looks like it won't become a tagged image until a "release" is posted.
2023-05-26 10:17:20 +03:00
Aine 428f7a1f75 Update hookshot 4.0.0 -> 4.1.0 2023-05-24 20:20:37 +00:00
Aine 34ffeb5f2f Update hookshot 3.2.0 -> 4.0.0 2023-04-27 14:11:31 +00:00
Aine ec721a2b24 Update hookshot 3.1.1 -> 3.2.0 2023-04-04 19:44:24 +00:00
Aine 45c37188b1 Update hookshot 3.1.0 -> 3.1.1 2023-03-28 15:05:26 +00:00
Aine 09188314dd Update hookshot 3.0.1 -> 3.1.0 2023-03-28 11:11:12 +00:00
Aine 38fc864745 Update hookshot 3.0.0 -> 3.0.1 2023-03-21 18:00:38 +00:00
Slavi Pantaleev ade312e6f6 Add matrix_hookshot_container_network 2023-03-20 17:03:19 +02:00
Aine 7ef804f62f Update hookshot 2.7.0 -> 3.0.0
Warning! Potentially breaking change: https://github.com/matrix-org/matrix-hookshot/releases/tag/3.0.0
2023-03-17 20:05:38 +00:00
Slavi Pantaleev dddfee16bc Fix all 300+ ansible-lint-reported errors 2023-03-07 17:28:15 +02:00
Aine 32292b1f02 Update hookshot 2.6.1 -> 2.7.0 2023-01-20 18:39:05 +00:00
Slavi Pantaleev 3ff6e755a9 Upgrade Hookshot (2.6.0 -> 2.6.1) 2023-01-16 18:52:22 +02:00
Aine 627d8557ae Update hookshot 2.5.0 -> 2.6.0 2023-01-13 16:31:19 +00:00
Slavi Pantaleev d59bbfdfc9 Upgrade Hookshot (2.4.0 -> 2.5.0) 2022-12-02 19:15:04 +02:00
Aine 8ca6cdd016 fix hookshot role 2022-11-30 12:25:51 +00:00
Slavi Pantaleev e3d21e8096 Rename some default Hookshot variables
Fixup for 7e2e2626a0

Some references were left unrenamed which caused `validate_config.yml`
to trigger.
2022-11-30 11:55:23 +02:00
Slavi Pantaleev 4a62df2ea3 Make Hookshot logging-level configurable 2022-11-30 08:18:41 +02:00
Slavi Pantaleev 84f306b236 Add support for enableHttpGet and waitForComplete Hookshot options
Supersedes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2256
2022-11-30 08:16:58 +02:00
Slavi Pantaleev 7e2e2626a0 Make hookshot variable names consistent with the rest of the playbook
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2256
2022-11-30 08:13:39 +02:00
Slavi Pantaleev 910cd9adf0 Replace import_role calls with include_role calls 2022-11-27 11:27:01 +02:00
Slavi Pantaleev 2688e8bfc3 Optimize initial installation by not reloading systemd after each .service install
We expect `--tags=start` to handle systemd reloading, so we don't need
to do it manually each time we install/uninstall a .service file.
2022-11-27 10:02:45 +02:00
Slavi Pantaleev a04f6f4e3d Optimize uninstall tasks a bit
- forego removing Docker images - it's not effective anyway, because it
  only removes the last version.. which is a drop in the bucket, usually

- do not reload systemd - it's none of our business. `--tags=start`,
  etc., handle this

- combine all uninstall tasks under a single block, which only runs if
  we detect traces (a leftover systemd .service file) of the component.
  If no such .service is detected, we skip them all. This may lead to
  incorect cleanup in rare cases, but is good enough for the most part.
2022-11-25 17:28:57 +02:00