Add support for zuul-web

Zuulv3 created a new zuul-web process, update our playbooks to start
using it.

Change-Id: I4c4067fddeaef727f02d71f0a935556be56231b0
Depends-On: https://review.openstack.org/491253
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger
2018-03-06 19:08:01 -05:00
parent 4867f63a6e
commit ebcc961ebd
11 changed files with 164 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# 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: Register /opt/venv/zuul-web
stat:
path: /opt/venv/zuul-web
register: test_zuul_pip_virtualenv_stat
- name: Assert /opt/venv/zuul-web tests
assert:
that:
- test_zuul_pip_virtualenv_stat.stat.exists
- test_zuul_pip_virtualenv_stat.stat.isdir
- name: Ensure zuul-web is running
become: yes
shell: /usr/sbin/service zuul-web status
tags: skip_ansible_lint