Aine
bab3a47c50
fix zulip bridge service name on removal
4 months ago
Suguru Hirahara
ee976242e5
Add MatrixZulipBridge ( #4695 )
* Add links to MatrixZulipBridge
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Add MatrixZulipBridge: copy matrix-bridge-heisenbridge
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Rename matrix-heisenbridge.service.j2 to matrix-matrixzulipbridge.service.j2
- Add the license header to matrix-matrixzulipbridge.service.j2
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Replace "Heisenbridge" to "MatrixZulipBridge" to "heisenbridge" to "matrixzulipbridge", respectively
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Replace variables related to container image and version
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Update comments and copyright headers
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Update matrix-bridge-matrixzulipbridge/tasks/main.yml: add names to tasks
Reuse aa0591f8b0/tasks/main.yml
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Remove configuration for identd
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Add `matrix_matrixzulipbridge_container_http_port`
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Run ansible-lint for files in tasks/
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Update `matrix_matrixzulipbridge_registration_yaml`
Run `pip install matrixzulipbridge && python3 -m matrixzulipbridge --config config.yaml --generate` to generate config.yaml
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Add MatrixZulipBridge to files in group_vars
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Add configuring-playbook-bridge-matrixzulipbridge.md
Reuse b108c8a151/docs/configuring-playbook-bridge-heisenbridge.md
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Fix `matrix_matrixzulipbridge_config_media_path`
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Remove space characters
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Replace "matrixzulipbridge" with "zulip", etc.
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Remove irrelevant instruction
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* MatrixZulipBridge → Zulip bridge
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Rename `@matrixzulipbridge` to `@zulipbot`
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Replace `matrix_bridge_zulip` with `matrix_zulip_bridge` for now
Refer to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4695#discussion_r2485317210
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Set `{{ matrix_admin if matrix_admin else '' }}` to `matrix_zulip_bridge_owner`
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Apply the review
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Reuse the section about adjusting the playbook configuration on configuring-playbook-bridge-postmoogle.md
Reuse 7862fd7cdd/docs/configuring-playbook-bridge-postmoogle.md
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Update configuring-playbook.md: sort list items
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
---------
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
Co-authored-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
Co-authored-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
5 months ago
Suguru Hirahara
d403a7e4ae
Add license information to files for matrix-bridge-heisenbridge
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 year ago
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.
3 years ago
Slavi Pantaleev
835d2e9581
matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)
3 years ago
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 years ago
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
3 years ago
Slavi Pantaleev
34cdaade08
Use fully-qualified module names for builtin Ansible modules
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
3 years ago
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 years ago
Slavi Pantaleev
735c966ab6
Disable systemd services when stopping to uninstall them
Until now, we were leaving services "enabled"
(symlinks in /etc/systemd/system/multi-user.target.wants/).
We clean these up now. Broken symlinks may still exist in older
installations that enabled/disabled services. We're not taking care
to fix these up. It's just a cosmetic defect anyway.
4 years ago
Michael Collins
98e6cd685d
sync with previous repo
4 years ago
Michael-GMH
86e4649578
GoMatrixHosting v0.5.5
4 years ago
Michael-GMH
03006eb5ab
GoMatrixHosting v0.5.5
4 years ago
Michael Sasser
7578a355c4
heisenbridge fix service name
4 years ago
Michael-GMH
85777e8f96
merge with upstream
4 years ago
Toni Spets
544915ff76
Add Heisenbridge
4 years ago