Add basic Prometheus role

This commit is contained in:
Thomas Kleinendorst 2024-09-16 10:53:58 +02:00
parent 11140291b4
commit da250bc2be
4 changed files with 10 additions and 1 deletions

View file

@ -19,6 +19,7 @@
- role: actual - role: actual
- role: changedetection - role: changedetection
- role: pi-hole - role: pi-hole
- role: monitoring
vars: vars:
# devsec.hardening.ssh_hardening vars: # devsec.hardening.ssh_hardening vars:
ssh_client_port: 22 # Default, but duplicated here for documentation purpose. Not changed because its only accessible via LAN. ssh_client_port: 22 # Default, but duplicated here for documentation purpose. Not changed because its only accessible via LAN.

View file

@ -1,6 +1,8 @@
--- ---
collections: collections:
# from Ansible Galaxy
# See: https://galaxy.ansible.com/ui/repo/published/devsec/hardening/ # See: https://galaxy.ansible.com/ui/repo/published/devsec/hardening/
- name: devsec.hardening - name: devsec.hardening
version: 9.0.1 version: 9.0.1
# See: https://prometheus-community.github.io/ansible/branch/main/prometheus_role.html#ansible-collections-prometheus-prometheus-prometheus-role
- name: prometheus.prometheus
version: 0.17.1

View file

@ -0,0 +1,4 @@
---
- name: Include Prometheus role
ansible.builtin.include_role:
name: prometheus.prometheus.prometheus

View file

@ -0,0 +1,2 @@
---
prometheus_version: "2.54.1"