From 4a6b4869c3510f6441f00127f321a61c5b594ec9 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Sat, 19 Jan 2019 00:29:09 -0500 Subject: [PATCH] Add restart playbook for zuul services We can use import_playbook to first stop then start services. Change-Id: Ifb9434ff9163ebbf48221e7d83a019a855771a67 Signed-off-by: Paul Belanger --- playbooks/zuul/restart.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 playbooks/zuul/restart.yaml diff --git a/playbooks/zuul/restart.yaml b/playbooks/zuul/restart.yaml new file mode 100644 index 0000000..493557c --- /dev/null +++ b/playbooks/zuul/restart.yaml @@ -0,0 +1,16 @@ +# Copyright 2019 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. +--- +- import_playbook: stop.yaml +- import_playbook: start.yaml