Aine
2da3768b20
Added retries to the docker pulls ( #1701 )
4 anni fa
GoliathLabs
0f251a2104
Updated: grafana to 8.4.1
4 anni fa
Slavi Pantaleev
241e21c702
Fix typo
4 anni fa
Slavi Pantaleev
f0ab2ec506
Add support for configuring allow_embedding for Grafana
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1626
4 anni fa
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 anni fa
Slavi Pantaleev
86c36523df
Replace ExecStopPost with ExecStop
Reverts b1b4ba501fdfaa, 90c9801c560b6, a3c84f78ca9c65a, ..
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.
4 anni fa
GoliathLabs
e27e0b28c8
Updated: grafana to 8.3.4
4 anni fa
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=
4 anni fa
sakkiii
8a0c7913be
Grafana Updata (8.3.1 -> 8.3.3)
4 anni fa
Catalan Lover
18daf8f3da
Update Grafana from 8.3.0 to 8.3.1 due to Security Flaw
https://grafana.com/blog/2021/12/07/grafana-8.3.1-8.2.7-8.1.8-and-8.0.7-released-with-high-severity-security-fix/
4 anni fa
WobbelTheBear
27e1451cbc
Update main.yml
4 anni fa
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 anni fa
sakkiii
0231302db9
Upgrade grafana (8.1.4 -> 8.2.2)
4 anni fa
sakkiii
255cb97c41
Upgrade grafana (8.1.3 -> 8.1.4)
4 anni fa
WobbelTheBear
df13ea5f14
Upgrade grafana (8.1.2 -> 8.1.3) ( #1269 )
Upgrade grafana (8.1.2 -> 8.1.3)
4 anni fa
sakkiii
86f5ba8348
Grafana Grafana v8.1
4 anni fa
Michael Collins
98e6cd685d
sync with previous repo
4 anni fa
sakkiii
e90979e91f
Upgrade grafana (8.0.5 -> 8.0.6)
4 anni fa
Michael-GMH
86e4649578
GoMatrixHosting v0.5.5
4 anni fa
Michael-GMH
03006eb5ab
GoMatrixHosting v0.5.5
4 anni fa
sakkiii
cd54147144
Upgrade grafana (8.0.3 -> 8.0.5)
4 anni fa
sakkiii
b826171139
Update grafana 8.0.2 -> 8.0.3
4 anni fa
sakkiii
08d1a5c2e7
Update grafana 8.0.0 -> 8.0.2
4 anni fa
sakkiii
be1d1d0b7c
matrix_grafana_content_security_policy_customized default false
4 anni fa
sakkiii
2d9ba82337
Update element 7.5.7 -> 8.0.0
4 anni fa
Michael-GMH
ad7bbd6442
merge upstream
4 anni fa
Raymond Coetzee
4e2780ff88
Add support for a prometheus postgres exporter
This commit introduces a new role that downloads and installs the
prometheus community postgres exporter https://github.com/prometheus-community/postgres_exporter .
A new credential is added to matrix_postgres_additional_databases that
allows the exporter access to the database to gather statistics.
A new dashboard was added to the grafana role, with some refactoring
to enable the dashboard only if the new role is enabled.
I've included some basic instructions for how to enable the role in
the Docs section.
In terms of testing, I've tested enabling the role, and disabling
it to make sure it cleans up the container and systemd role.
4 anni fa
Michael-GMH
85777e8f96
merge with upstream
4 anni fa
Tobias K
3dcbed6353
roles/matrix-grafana: Set root_url in granafa.ini
4 anni fa
sakkiii
8529ca4c17
Update grafana (7.5.6->7.5.7)
4 anni fa
sakkiii
4bd7d8b5e4
Update grafana (7.5.5->7.5.6)
4 anni fa
sakkiii
9174448e5e
get rid of this {% else %}
4 anni fa
sakkiii
0d5fe2d9f7
Update roles/matrix-grafana/templates/grafana.ini.j2
Co-authored-by: Aaron Raimist <aaron@raim.ist>
4 anni fa
sakkiii
37de7fc96a
Updated Reference
4 anni fa
sakkiii
303de935d5
grafana CSP backward compatible with older browsers
4 anni fa
Dan Arnfield
bec5933db4
Update grafana (7.5.4 -> 7.5.5)
4 anni fa
Michael-GMH
50d7209c5b
GMH v04.3
5 anni fa
sakkiii
05042f5ff1
Improve security grafana
- duplicate X-Content-Type-Options
- X-Frame-Options header
- Referrer-Policy [Might consider adding variable]
- Secure flag with cookies
- matrix_grafana_content_security_policy variable for [Content Security Policy](https://grafana.com/docs/grafana/latest/administration/configuration/#content_security_policy )
5 anni fa
sakkiii
27377e099d
updated matrix_grafana_docker_image to v7.5.4
Latest stable grafana version is [7.5.4 (2021-04-14)](https://github.com/grafana/grafana/releases/tag/v7.5.4 )
5 anni fa
Michael-GMH
89cb5a3d7a
GMH v0.4.2 update
5 anni fa
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 anni fa
Ahmad Haghighi
f52a8b6484
use custom docker registry
5 anni fa
Aaron Raimist
458c17b9d0
Upgrade Grafana (7.4.0 -> 7.5.2)
5 anni fa
Aaron Raimist
504f1b6445
Allow special characters in Grafana password
5 anni fa
Michael
33ec5710d9
0.2.1 revision
5 anni fa
Slavi Pantaleev
77ab0d3e98
Do not delete Prometheus/Grafana Docker images
Same reasoning as in 1cd251ed78
5 anni fa
rakshazi
2f887f292c
added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility)
5 anni fa
Slavi Pantaleev
8434af10de
Do not fail on unrelated validation tasks when Grafana not enabled
5 anni fa
Slavi Pantaleev
df3dd1c824
Use --read-only FS for metrics-related containers
It seems like it doesn't cause any issues for any of these services.
5 anni fa
Slavi Pantaleev
3ce9712388
Fix Grafana dashboard/datasource label
5 anni fa