Slavi Pantaleev
9f2eff2ac7
Respect `devture_systemd_docker_base_docker_service_name`
Related to 0241c71a4c
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3270#issuecomment-2143782962
With this change, it should be possible for people to adjust the Docker
dependency from `docker.service` to something else (e.g. `pkg-ContainerManager-dockerd.service`),
or to completely eliminate it by setting `devture_systemd_docker_base_docker_service_name` to an empty string.
This makes it easier for people to use the playbook against a Synology DSM server.
1 vuosi sitten
Fabio Bonelli
2bdc6db2eb
Add puppeting option to matrix-bridge-appservice-slack
Fix #2720 .
1 vuosi sitten
Slavi Pantaleev
c86cff2708
Fix NeDB to Postgres importing task for matrix-bridge-appservice-slack
Same as 250b91a40968e, but for Slack
2 vuotta sitten
Slavi Pantaleev
b651495c07
Fixups for maubot and appservice-slack container labels
2 vuotta sitten
Slavi Pantaleev
db53a17a38
Move matrix-bridge-appservice-slack to its own container network
2 vuotta sitten
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2 vuotta sitten
Slavi Pantaleev
6427397486
Do not hardcode sslmode=disable to Postgres connection strings - make it configurable
This is backward-compatible with what we had before. We're not changing
the SSL mode - just making it configurable.
Most components are defaulting to `sslmode=disable`, while some
(`matrix-bot-matrix-reminder-bot` and others) do not specify an `sslmode` at all.
We're making sslmode configurable, because certain external Postgres
servers may be configured to require SSL encryption.
In such cases `sslmode=disable` does not work and needs to be changed to
`sslmode=require` or something else (`verify-ca`, `verify-full`, etc).
2 vuotta sitten
Slavi Pantaleev
e7bc6b3729
Upgrade appservice-slack (2.0.2 -> 2.1.2)
Related to https://matrix.org/blog/2023/07/bridges-security-updates/
2 vuotta sitten
Slavi Pantaleev
a353bda7a1
Upgrade appservice-slack (2.0.1 -> 2.0.2)
3 vuotta sitten
Slavi Pantaleev
7b43ef34b7
Remove more hardcoded matrix-postgres references
3 vuotta sitten
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 vuotta sitten
Slavi Pantaleev
aff7ca2426
Upgrade appservice-slack (1.11.0 -> 2.0.1)
This also disables self-building on arm64, since it's no longer
necessary: https://github.com/matrix-org/matrix-appservice-slack/pull/656
3 vuotta sitten
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 vuotta sitten
Slavi Pantaleev
c1849ae888
Fix the remaining var-spacing ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#var-spacing
3 vuotta sitten
Slavi Pantaleev
0ab2001ce7
Fix git-latest ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#git-latest
Our variable naming is not necessarily consistent across roles.
I've tried to follow the naming conventions of each individual role.
All new variables are suffixed with `_version`, but the prefix may be
somewhat different.
3 vuotta sitten
Slavi Pantaleev
d073c7ecb3
More ansible-lint fixes
3 vuotta sitten
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
3 vuotta sitten
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
3 vuotta sitten
Didier 'OdyX' Raboud
eda75e6492
Bump Slack Appservice to 1.11.0
4 vuotta sitten
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 vuotta sitten
GoliathLabs
dec1bd6c65
Updated: slack to 1.10.0
4 vuotta sitten
rakshazi
d9dd524db3
self-build consistency: rename vars everywhere
4 vuotta sitten
boris runakov
d3a9ec98de
refactoring
4 vuotta sitten
boris runakov
1ec67f49b0
replaced 8008 where possible
4 vuotta sitten
Aaron R
25d0ae7b67
Update matrix-appservice-slack (1.5.0 -> 1.8.0)
I am not using this bridge and haven't tested this but multiple people have said 1.5.0 isn't working and 1.8.0 works for them so it seems to make sense to update.
https://github.com/matrix-org/matrix-appservice-slack/issues/618#issuecomment-929849093
4 vuotta sitten
Michael Collins
98e6cd685d
sync with previous repo
4 vuotta sitten
Michael-GMH
89cb5a3d7a
GMH v0.4.2 update
5 vuotta sitten
Ahmad Haghighi
e335f3fc77
rename matrix_global_registry to matrix_container_global_registry_prefix related to #990
Signed-off-by: Ahmad Haghighi <haghighi@fedoraproject.org>
5 vuotta sitten
Ahmad Haghighi
f52a8b6484
use custom docker registry
5 vuotta sitten
Béla Becker
2d7e7680e5
matrix.{{ matrix_domain }} -> {{ matrix_server_fqn_matrix }}
5 vuotta sitten
Michael
33ec5710d9
0.2.1 revision
5 vuotta sitten
rakshazi
2f887f292c
added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility)
5 vuotta sitten
Panagiotis Georgiadis
a66a604e53
Selfbuild appservice-slack bridge
5 vuotta sitten
Slavi Pantaleev
8675dedbdb
Add support for automatic (nedb -> Postgres) migration to matrix-appservice-slack
5 vuotta sitten
Slavi Pantaleev
e2ba46bf01
Fix Jinja2 syntax error (else if -> elif)
5 vuotta sitten
transcaffeine
54da61f81b
add postgres support mx-appservice-[slack|irc] with fallback to nedb in role and migration notice
5 vuotta sitten
Slavi Pantaleev
ccabc82d4c
Use more fully-qualified container images
This is both for consistency with 93cc71cb69976c
and for making things more obvious.
5 vuotta sitten
Daniel Wiegreffe
b3926e7cca
Update main.yml
5 vuotta sitten
Daniel Wiegreffe
8f41041f6d
replacement of the docker image for appservice-slack to the officially maintained image
5 vuotta sitten
Slavi Pantaleev
5da31ba579
Move configuration templates outside of defaults/main.yml files
5 vuotta sitten
Slavi Pantaleev
438652c732
Switch Slack image to a working tag
We've had reports of the `:latest` tag not working anymore,
leading to an error as described here:
https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/341
6 vuotta sitten
Slavi Pantaleev
874d2390dd
Revert "Upgrade Slack bridge to 1.0.2"
This reverts commit 61e93744ec .
Reverting because of:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/341
- https://github.com/matrix-org/matrix-appservice-slack/issues/347
6 vuotta sitten
Slavi Pantaleev
61e93744ec
Upgrade Slack bridge to 1.0.2
NeDB is deprecated, so we should transition away from it in the future.
Still, most of the functionality should work on this new version.
6 vuotta sitten
Slavi Pantaleev
a6d51ebe9b
Force-pull Slack Docker image if :latest
6 vuotta sitten
kingoftheconnors
177ec295b4
Fixed matrix-appservice-slack docker command problems
6 vuotta sitten
kingoftheconnors
49766c5dac
Added Slack role
6 vuotta sitten