Merge pull request #50 from markgoddard/limit-node-exporter

Restrict prometheus node exporter to overcloud hosts running docker
This commit is contained in:
Mark Goddard 2017-10-27 17:04:05 +01:00 committed by GitHub
commit 0103c9a443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
###############################################################################
# Prometheus node exporter configuration.
# Whether Prometheus node exporter is enabled.
nodeexporter_enabled: False

View File

@ -7,6 +7,6 @@
# action: One of deploy, destroy, pull, reconfigure, upgrade
- name: Ensure Node Exporter is deployed
hosts: all
hosts: overcloud:&docker
roles:
- role: node-exporter

View 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