1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
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
GoliathLabs
94d31eefd3
Updated: mautrix-twitter to v0.1.3 2022-01-17 10:02:16 +01:00
Slavi Pantaleev
b1b4ba501f Replace ExecStop with ExecStopPost
ExecStopPost should allow us to clean up (docker kill + docker rm)
even if the ExecStart (docker run ..) command failed, and not just after
a graceful service stop was initiated.

Source: https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecStopPost=
2022-01-04 17:27:25 +02:00
Aaron Raimist
dc96526475
Update links to Mautrix Twitter bridge
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2022-01-03 01:05:13 +00:00
Shreyas Ajjarapu
ed0fcd618c
Update config.yaml.j2 2021-12-21 21:37:09 -06:00
Shreyas Ajjarapu
cddbb1ffa0
Update config.yaml.j2 2021-12-21 00:27:45 -06:00
Shreyas Ajjarapu
6a9775520b
Update validate_config.yml 2021-12-21 00:13:08 -06:00
Shreyas Ajjarapu
87bc9bd146
Update validate_config.yml 2021-12-20 23:36:05 -06:00
Matthew Cengia
2b83aeb87e Update Mautrix-Twitter image path 2021-12-14 22:36:23 +11:00
Matthew Cengia
cb608c06aa Remove references to sqlite
Remove references to sqlite since we should just use postgres from the
outset.
2021-12-14 22:36:23 +11:00
Matthew Cengia
68e6311a9f Update mautrix-twitter config to be Jinja2 template
Updates based off the variable names used in mautrix-facebook role.

Also update port number in defauts/main.yml, and disable presence
checking, because Twitter doesn't support that.
2021-12-14 22:36:23 +11:00
Matthew Cengia
8282ab48c7 Replace bridge config with one from upstream
Source: 12f420ab95/mautrix_twitter/example-config.yaml
2021-12-14 22:36:23 +11:00
Matthew Cengia
7afe8103da Find/replace Facebook with Twitter
find roles/matrix-bridge-mautrix-twitter -type f -exec sed -i \
  -e 's/facebook/twitter/g' \
  -e 's/Facebook/Twitter/g' \
  -e 's/FB/Twitter/g' \
  -e 's/fb/twitter/g' {} +
2021-12-14 22:36:23 +11:00
Matthew Cengia
e9e4d8f250 Rename mautrix-twitter systemd file 2021-12-14 22:36:23 +11:00
Matthew Cengia
6b9b824964 Copy matrix-bridge-mautrix-facebook as base for matrix-bridge-mautrix-twitter 2021-12-14 22:36:23 +11:00