Merge pull request #50 from markgoddard/limit-node-exporter
Restrict prometheus node exporter to overcloud hosts running docker
This commit is contained in:
commit
0103c9a443
6
ansible/group_vars/all/node-exporter
Normal file
6
ansible/group_vars/all/node-exporter
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
###############################################################################
|
||||||
|
# Prometheus node exporter configuration.
|
||||||
|
|
||||||
|
# Whether Prometheus node exporter is enabled.
|
||||||
|
nodeexporter_enabled: False
|
@ -7,6 +7,6 @@
|
|||||||
# action: One of deploy, destroy, pull, reconfigure, upgrade
|
# action: One of deploy, destroy, pull, reconfigure, upgrade
|
||||||
|
|
||||||
- name: Ensure Node Exporter is deployed
|
- name: Ensure Node Exporter is deployed
|
||||||
hosts: all
|
hosts: overcloud:&docker
|
||||||
roles:
|
roles:
|
||||||
- role: node-exporter
|
- role: node-exporter
|
||||||
|
10
etc/kayobe/node-exporter.yml
Normal file
10
etc/kayobe/node-exporter.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
###############################################################################
|
||||||
|
# Prometheus node exporter configuration.
|
||||||
|
|
||||||
|
# Whether Prometheus node exporter is enabled.
|
||||||
|
#nodeexporter_enabled:
|
||||||
|
|
||||||
|
###############################################################################
|
||||||
|
# Dummy variable to allow Ansible to accept this file.
|
||||||
|
workaround_ansible_issue_8743: yes
|
Loading…
x
Reference in New Issue
Block a user