a1a7f2cd32
This starts building out support for statsd, which will be helpful for users who want to start producing reports. Currently both nodepool / zuul only support ipv4 for statsd. As a results, limit enabling it on ipv4 hosts for now. Change-Id: I029376330677e035a292bf95d9e7e63b57947985 Depends-On: https://review.openstack.org/554695 Depends-On: https://review.openstack.org/556209 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
31 lines
914 B
YAML
31 lines
914 B
YAML
# Copyright 2017 Red Hat, Inc.
|
|
#
|
|
# 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: Install statsd.
|
|
hosts: statsd
|
|
|
|
tasks:
|
|
- name: Setup openstack.statsd role.
|
|
include_role:
|
|
name: openstack.statsd
|
|
|
|
- name: Setup openstack.logrotate role.
|
|
include_role:
|
|
name: openstack.logrotate
|
|
|
|
post_tasks:
|
|
- name: Run statsd validation.
|
|
include_role:
|
|
name: test.statsd
|