When doing the role upgrade, we run every playbook with current's branch ansible. This is normal for the infrastructure bits (which are running on current branch), but not for the installation of the previous branch's role, which should use previous branch's environment. Related-Bug: #1741471 Depends-On: I7ebb045885dd645b820de2b7f75b46c755c015f6 Change-Id: I7bc4dd644c48b403e9e669cb0ea460d9d1149410
26 lines
814 B
YAML
26 lines
814 B
YAML
---
|
|
# Copyright 2018, SUSE LINUX GmbH.
|
|
#
|
|
# 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.
|
|
|
|
# Install previous version
|
|
- name: Deploy previous galera version
|
|
hosts: galera_all
|
|
user: root
|
|
serial: 1
|
|
gather_facts: true
|
|
roles:
|
|
- role: "previous_galera_server"
|
|
vars_files:
|
|
- common/previous/test-vars.yml
|