Update
This commit is contained in:
parent
63cea6be8d
commit
8b4c413c0d
15
inventory.ini
Normal file
15
inventory.ini
Normal 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
|
@ -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
|
@ -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
14
prometheus-servers.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user