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:
23
playbooks/roles/test.statsd/tasks/main.yaml
Normal file
23
playbooks/roles/test.statsd/tasks/main.yaml
Normal 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
|
||||
Reference in New Issue
Block a user