From 3bd0008a77c8d0a9dac9ceec043603bb411f034c Mon Sep 17 00:00:00 2001 From: lagertonne Date: Wed, 27 Nov 2024 19:41:59 +0100 Subject: [PATCH] deploy: Add prometheus node_exporter --- .forgejo/workflows/deploy_staging.yml | 1 + deploy/ansible/playbooks/deploy-c3lf-sys3.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.forgejo/workflows/deploy_staging.yml b/.forgejo/workflows/deploy_staging.yml index 3b44d24..02ef3be 100644 --- a/.forgejo/workflows/deploy_staging.yml +++ b/.forgejo/workflows/deploy_staging.yml @@ -32,6 +32,7 @@ jobs: apt install python3-pip -y python3 -m pip install ansible python3 -m pip install ansible-lint + ansible-galaxy collection install prometheus.prometheus - name: Populate relevant files run: | diff --git a/deploy/ansible/playbooks/deploy-c3lf-sys3.yml b/deploy/ansible/playbooks/deploy-c3lf-sys3.yml index 544b4e4..e2768f9 100644 --- a/deploy/ansible/playbooks/deploy-c3lf-sys3.yml +++ b/deploy/ansible/playbooks/deploy-c3lf-sys3.yml @@ -1,5 +1,7 @@ - name: 'deploy c3lf-sys3' hosts: 'c3lf-nodes' + roles: + - prometheus.prometheus.node_exporter handlers: - name: restart nginx service: