openstack-ansible-ops/prometheus/installNodeExporter.yml
Marcus Klein 7a9df911ba Upgrade Prometheus node exporter to Prometheus collection
Change-Id: I182c6114ee525090d2661bb0d48781e292d66919
2023-12-04 14:10:57 +01:00

27 lines
781 B
YAML

---
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Refresh local facts
hosts: hosts
tasks:
- name: Refresh local facts
setup:
- name: node_exporter
hosts: hosts
vars_files:
- vars/variables.yml
roles:
- role: prometheus.prometheus.node_exporter