4ac33dcdbf
- Each playbook is now in charged of a single main task: Setup NFS, Setup ReaR and Backup. - prepare-nfs-backup.yaml was added to support the installation and configuration of the backup node. - prepare-undercloud-backup.yaml and prepare-overcloud-backup.yaml were modified to support the ReaR installation and configuration. - cli-undercloud-backup.yaml and cli-overcloud-backup.yaml were modified to support the backup of each node. "tags" property was removed to avoid tagging the whole role. "connection" property was removed to avoid running against localhost because tripleo_target_host is not defined. Bugzilla: #1824806 Change-Id: Id515d06ebceec58db84eef313ca1375bb802282d
22 lines
818 B
YAML
22 lines
818 B
YAML
---
|
|
# Copyright 2020 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: TripleO Controller ReaR installation and configuration.
|
|
hosts: Controller
|
|
remote_user: "{{ tripleo_target_user | default(lookup('env', 'USER')) }}"
|
|
become: true
|
|
roles:
|
|
- role: backup_and_restore
|