diff options
| -rw-r--r-- | configure.yml | 2 | ||||
| -rw-r--r-- | molecule/archlinux/converge.yml | 2 | ||||
| -rw-r--r-- | molecule/debian/converge.yml | 13 | ||||
| -rw-r--r-- | molecule/raspberrypi/converge.yml | 9 | ||||
| -rw-r--r-- | molecule/ubuntu/converge.yml | 2 |
5 files changed, 28 insertions, 0 deletions
diff --git a/configure.yml b/configure.yml index dd6b74ac..960cb0e9 100644 --- a/configure.yml +++ b/configure.yml @@ -28,3 +28,5 @@ - role: "nginx" - role: "wg_portal" - role: "pihole" + - role: "prometheus" + - role: "grafana" diff --git a/molecule/archlinux/converge.yml b/molecule/archlinux/converge.yml index 4e4ef390..18d72cd5 100644 --- a/molecule/archlinux/converge.yml +++ b/molecule/archlinux/converge.yml @@ -34,3 +34,5 @@ - role: "podman" - role: "ansible" - role: "nginx" + - role: "prometheus" + - role: "grafana" diff --git a/molecule/debian/converge.yml b/molecule/debian/converge.yml index 194e5ad7..14d8a3e3 100644 --- a/molecule/debian/converge.yml +++ b/molecule/debian/converge.yml @@ -17,6 +17,17 @@ python_global_version: "3.13" python_versions: - "3.13" + prometheus_host: "localhost" + prometheus_port: 9090 + prometheus_node_exporter_port: 9100 + grafana_port: 3000 + grafana_dashboards: + - id: 1860 + revision: 37 + name: "node-exporter-full" + datasource_mappings: + - key: "000000001" + value: "prometheus" roles: - role: "hostname" - role: "network" @@ -34,3 +45,5 @@ - role: "podman" - role: "ansible" - role: "nginx" + - role: "prometheus" + - role: "grafana" diff --git a/molecule/raspberrypi/converge.yml b/molecule/raspberrypi/converge.yml index 095e34fb..4efa1f23 100644 --- a/molecule/raspberrypi/converge.yml +++ b/molecule/raspberrypi/converge.yml @@ -16,6 +16,13 @@ wireguard_autostart_connection: "" gateway_enabled: true gateway_local_ipv4_subnet: "10.0.0.0/24" + grafana_dashboards: + - id: 1860 + revision: 37 + name: "node-exporter-full" + datasource_mappings: + - key: "000000001" + value: "prometheus" roles: - role: "hostname" - role: "network" @@ -29,3 +36,5 @@ - role: "nginx" - role: "wg_portal" - role: "pihole" + - role: "prometheus" + - role: "grafana" diff --git a/molecule/ubuntu/converge.yml b/molecule/ubuntu/converge.yml index 848c1090..3776c80f 100644 --- a/molecule/ubuntu/converge.yml +++ b/molecule/ubuntu/converge.yml @@ -34,3 +34,5 @@ - role: "podman" - role: "ansible" - role: "nginx" + - role: "prometheus" + - role: "grafana" |
