Marko Weltzer
819574b8ba
Merge branch 'spantaleev:master' into master
3 years ago
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
3 years ago
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.
3 years ago
Catalan Lover
c03f69fe93
Update Hydrogen from v0.2.23 to v0.2.25
3 years ago
Aaron Raimist
02c1756135
Upgrade Hydrogen (0.2.19 -> 0.2.23)
3 years ago
Slavi Pantaleev
7dfb68b7f8
Add else statements to inline ifs
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1509
3 years ago
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=
3 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.
3 years ago
Slavi Pantaleev
dae117c91b
Bump Hydrogen (0.2.7 -> 0.2.19)
3 years ago
Slavi Pantaleev
39fa852ed6
Remove unnecessary if checks
...
Should have been done in 63f5a88fa0
.
3 years ago
Slavi Pantaleev
63f5a88fa0
Separate install/uninstall tasks for Element and Hydrogen
3 years ago
Aaron Raimist
f7e614b644
Add comment explaining why this step goes here
3 years ago
Aaron Raimist
82641092a7
Revert "Move some related tasks closer together in matrix-client-hydrogen"
...
This reverts commit e913347fe1
.
3 years ago
Slavi Pantaleev
e913347fe1
Move some related tasks closer together in matrix-client-hydrogen
3 years ago
sakkiii
e4ea32b89f
Hydrogen v0.2.7
3 years ago
Aaron Raimist
f3aae70f70
Upgrade Hydrogen (0.2.3 -> 0.2.5)
3 years ago
sakkiii
8b304445e5
Upgrade hydrogen (v0.2.0 -> v0.2.3)
3 years ago
hanthor
ddbb4b2acc
Update main.yml
...
update to v0.2.0
3 years ago
sakkiii
4cd5835e11
update hydrogen v0.1.56 -> v0.1.57
...
https://github.com/vector-im/hydrogen-web/releases/tag/v0.1.57
3 years ago
Thomas Kühne
7f4e71b22a
fix error when running with Ansible 2.7 in the hydrogen setup
...
Without this the hydrogen task would fail for Ansible 2.7 even when hydrogen is not enabled.
4 years ago
hanthor
b772d11342
Update main.yml
...
Update hydrogen-web version to v0.1.56
4 years ago
Aaron Raimist
3c0452ff5a
Remove unnecessary bind for config.json, use proper nginx.conf
4 years ago
Aaron Raimist
ac4ede20af
Add docs
4 years ago
Aaron Raimist
1633f61018
Only install config.json when self building
4 years ago
Aaron Raimist
9437f78c9e
Build using custom config.json, add CSP, update to 0.1.53
4 years ago
Aaron Raimist
ca361af616
Add Hydrogen
4 years ago