From d1bb89fe95a4482467bea3ad0022bd10704ce5ae Mon Sep 17 00:00:00 2001 From: master of disaster Date: Thu, 11 Dec 2025 23:47:47 +0100 Subject: [PATCH] test prometheus --- .gitea/workflows/ansible-runner.yaml | 5 +++-- playbooks/install_monitoring.yml.ansible | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 playbooks/install_monitoring.yml.ansible diff --git a/.gitea/workflows/ansible-runner.yaml b/.gitea/workflows/ansible-runner.yaml index 6295980..67db240 100644 --- a/.gitea/workflows/ansible-runner.yaml +++ b/.gitea/workflows/ansible-runner.yaml @@ -65,9 +65,10 @@ jobs: - name: 🔎Check Ansible Playbook Syntax run: | # ansible-playbook --syntax-check playbooks/update_debian.yml.ansible - ansible-playbook --syntax-check playbooks/install_postgresql.yml.ansible + ansible-playbook --syntax-check playbooks/install_monitoring.yml.ansible - name: 🏃‍♂️Run Ansible Playbook run: | # ansible-playbook -i inventory/raspberries.yaml playbooks/update_debian.yml.ansible --vault-password-file .vault_pass.txt - ansible-playbook -i inventory/raspberries.yaml playbooks/install_postgresql.yml.ansible --vault-password-file .vault_pass.txt \ No newline at end of file + ansible-playbook -i inventory/raspberries.yaml playbooks/install_monitoring.yml.ansible --vault-password-file .vault_pass.txt + \ No newline at end of file diff --git a/playbooks/install_monitoring.yml.ansible b/playbooks/install_monitoring.yml.ansible new file mode 100644 index 0000000..92c67b2 --- /dev/null +++ b/playbooks/install_monitoring.yml.ansible @@ -0,0 +1,7 @@ +- hosts: + - prometheus_servers + gather_facts: true + become: true + roles: + - handlers + - prometheus