commit c9ac0f00086853910cb37795a27a712ea6eb3283 parent 4a96cefa431a1b78ac07541ea387008e22ed2822 Author: Christian Grothoff <christian@grothoff.org> Date: Tue, 21 Jan 2025 15:07:19 +0100 install alloy Diffstat:
| A | roles/monitoring/files/etc/keyrings/grafana.gpg | | | 0 | |
| M | roles/monitoring/tasks/main.yml | | | 20 | ++++++++++++++++++++ |
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/roles/monitoring/files/etc/keyrings/grafana.gpg b/roles/monitoring/files/etc/keyrings/grafana.gpg Binary files differ. diff --git a/roles/monitoring/tasks/main.yml b/roles/monitoring/tasks/main.yml @@ -1,10 +1,30 @@ --- +- name: Deploy grafana signing key + copy: + src: etc/apt/keyrings/grafana.gpg + dest: /etc/apt/keyrings/grafana.gpg + owner: root + group: root + mode: 0644 + +- name: Add grafana repo + deb822_repository: + name: Taler + types: deb + uris: https://apt.grafana.com + suites: stable + components: + - main + architectures: amd64 + signed_by: /etc/apt/keyrings/grafana.gpg + - name: Install prometheus exporters apt: name: - prometheus-nginx-exporter - prometheus-node-exporter - prometheus-postgres-exporter + - alloy install_recommends: no - name: Ensure Taler monitoring virtualhost configuration file exists