ansible-playbooks/playbookconfig/src/playbooks/backup-restore/host_vars/default.yml

53 lines
1.5 KiB
YAML

---
#
# Copyright (c) 2019 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
#
# Default directory where user override file(s) can be found
#
override_files_dir: "{{ lookup('env', 'HOME') }}"
# Default directory where the backup tar file(s) can be found
# on the active controller
backup_dir: /opt/backups
#
# The platform backup tarball will be named in this format:
# <platform_backup_filename_prefix>_<timestamp>.tgz
#
platform_backup_filename_prefix: "{{ inventory_hostname }}_platform_backup"
#
# The stx-openstack application backup tarball will be named in this format:
# <openstack_backup_filename_prefix>_<timestamp>.tgz
#
openstack_backup_filename_prefix: "{{ inventory_hostname }}_openstack_backup"
#
# System backup tarball filename. User must provide the filename either
# in the override file or via -e option at the command line.
#
# This variable refers to the tarball that is generated by the backup
# procedure and used in the restore phase.
#
backup_filename:
#
# An indication whether it is a full restore or partial restore.
# True: a full restore where storage partition(s) is/are wiped during
# platform restore and ceph data needs restored
# False: a partial restore where ceph data remain intact during restore
#
# This variable is used for StarlingX OpenStack application restore only
#
restore_ceph_data: false
#
# Default directory where the system backup tarballs fetched from the
# active controller can be found
#
host_backup_dir: "{{ lookup('env', 'HOME') }}"