This commit is contained in:
Jeffrey Serio 2025-01-19 10:53:30 -06:00
parent 63cea6be8d
commit 8b4c413c0d
4 changed files with 29 additions and 27 deletions

15
inventory.ini Normal file
View File

@ -0,0 +1,15 @@
[servers]
hyperreal.lyrebird-marlin.ts.net
152.53.39.153
nas-local.lyrebird-marlin.ts.net
auxnode.lyrebird-marlin.ts.net
10.0.0.5
[prometheus-servers]
localhost
[prometheus-clients]
hyperreal.lyrebird-marlin.ts.net
nas-local.lyrebird-marlin.ts.net
auxnode.lyrebird-marlin.ts.net
10.0.0.5

View File

@ -1,23 +0,0 @@
---
servers:
hosts:
hyperreal.coffee:
ansible_user: jas
ansible_host: hyperreal.lyrebird-marlin.ts.net
ansible_python_interpreter: /usr/bin/python3
auxnc-8g:
ansible_user: jas
ansible_host: 152.53.39.153
ansible_python_interpreter: /usr/bin/python3
nas-local:
ansible_user: jas
ansible_host: nas-local.lyrebird-marlin.ts.net
ansible_python_interpreter: /usr/bin/python3
auxnode:
ansible_user: jas
ansible_host: auxnode.lyrebird-marlin.ts.net
ansible_python_interpreter: /usr/bin/python3
auxnode2:
ansible_user: jas
ansible_host: 10.0.0.5
ansible_python_interpreter: /usr/bin/python3

View File

@ -1,10 +1,6 @@
---
- hosts: prometheus-clients
tasks:
- name: Import the Blackbox Exporter role
import_role:
name: prometheus.prometheus.blackbox_exporter
- name: Import Node Exporter role
import_role:
name: prometheus.prometheus.node_exporter

14
prometheus-servers.yml Normal file
View File

@ -0,0 +1,14 @@
---
- hosts: prometheus-servers
tasks:
- name: Import Node Exporter role
import_role:
name: prometheus.prometheus.node_exporter
- name: Import Prometheus role
import_role:
name: prometheus.prometheus.prometheus
- name: Import Systemd Exporter role
import_role:
name: prometheus.prometheus.systemd_exporter