windmill/playbooks/zuul-web.yaml
Paul Belanger afb4a3d6c7
Actually use logroate for zuul services
We didn't actually include a the role in any of our zuul tasks, so we
didn't actually properly setup logrotate for zuul.

Change-Id: I698c1dc5a28b7bb5376c037f520141ef9ba3abf1
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-14 23:28:07 -04:00

34 lines
954 B
YAML

# Copyright 2016 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 zuul-web.
hosts: zuul-web
tasks:
- name: Setup openstack.zuul role.
include_role:
name: openstack.zuul
- name: Setup openstack.logrotate role.
include_role:
name: openstack.logrotate
post_tasks:
- name: Run zuul-web validation.
include_role:
name: test.zuul-web
vars_files:
- vars/zuul.yaml