Use yml inventory ffs
This commit is contained in:
parent
8b4c413c0d
commit
92d90eed33
@ -1,15 +0,0 @@
|
|||||||
[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
|
|
38
inventory.yml
Normal file
38
inventory.yml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
servers:
|
||||||
|
hosts:
|
||||||
|
hyperreal.coffee:
|
||||||
|
ansible_user: jas
|
||||||
|
ansible_host: hyperreal.lyrebird-marlin.ts.net
|
||||||
|
auxnc-8g:
|
||||||
|
ansible_user: jas
|
||||||
|
ansible_host: 152.53.39.153
|
||||||
|
nas-local:
|
||||||
|
ansible_user: jas
|
||||||
|
ansible_host: nas-local.lyrebird-marlin.ts.net
|
||||||
|
auxnode:
|
||||||
|
ansible_user: jas
|
||||||
|
ansible_host: auxnode.lyrebird-marlin.ts.net
|
||||||
|
auxnode2:
|
||||||
|
ansible_user: jas
|
||||||
|
ansible_host: 10.0.0.5
|
||||||
|
|
||||||
|
prometheus-servers:
|
||||||
|
hosts:
|
||||||
|
desktop:
|
||||||
|
ansible_user: jas
|
||||||
|
ansible_host: localhost
|
||||||
|
|
||||||
|
prometheus-clients:
|
||||||
|
hosts:
|
||||||
|
hyperreal.coffee:
|
||||||
|
ansible_user: jas
|
||||||
|
ansible_host: hyperreal.lyrebird-marlin.ts.net
|
||||||
|
nas-local:
|
||||||
|
ansible_user: jas
|
||||||
|
ansible_host: nas-local.lyrebird-marlin.ts.net
|
||||||
|
auxnode:
|
||||||
|
ansible_user: jas
|
||||||
|
ansible_host: auxnode.lyrebird-marlin.ts.net
|
||||||
|
auxnode2:
|
||||||
|
ansible_user: jas
|
||||||
|
ansible_host: 10.0.0.5
|
@ -4,11 +4,3 @@
|
|||||||
- name: Import Node Exporter role
|
- name: Import Node Exporter role
|
||||||
import_role:
|
import_role:
|
||||||
name: prometheus.prometheus.node_exporter
|
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