Add statsd01 host

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>
This commit is contained in:
Paul Belanger
2018-03-22 15:28:41 -04:00
parent 82ffd81e5e
commit a1a7f2cd32
13 changed files with 156 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# 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: Ensure statsd is running
become: yes
shell: /usr/sbin/service statsd status
tags: skip_ansible_lint
- name: Ensure logrotate is setup
become: yes
command: logrotate -d /etc/logrotate.d/statsd
tags: skip_ansible_lint