saibotk
a47fde9c9c
This patch renames all roles with a `-` to `_`, to comply with the ansible-lint rule 106. As collection roles are now also limited to these symbols and this will make it easier to move them later.
47 lines
1.7 KiB
YAML
47 lines
1.7 KiB
YAML
---
|
|
# Default variables for the lvm_self_backup role
|
|
|
|
# Infrastructure
|
|
# Ansible instructions to deploy the infrastructure
|
|
# Copyright (C) 2020 Saibotk
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, version 3 of the License.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# The LVM volumes to backup
|
|
# Available fields:
|
|
# vg_name - The volume group that the volume resides in
|
|
# lv_name - The logical volume name that should be backed up
|
|
# fstype - Optional. Set to "xfs" to mount the snapshots with the `nouuid` flag when the XFS filesystem is used.
|
|
#
|
|
backup_vols: []
|
|
|
|
# The backup target (see duplicity for valid inputs)
|
|
backup_target: ""
|
|
|
|
# The duplicity image & version
|
|
backup_duplicity_image: "quay.io/sheogorath/duplicity"
|
|
backup_duplicity_version: "0.8.14"
|
|
backup_duplicity_image_version: "{{ backup_duplicity_version }}"
|
|
|
|
# The GPG options to be used when backing up
|
|
# Generate a GPG key as the root user before using this role and enter the details here!
|
|
backup_gpg:
|
|
id: ""
|
|
passphrase: "PASSWORD"
|
|
sign_key: "{{ backup_gpg.id }}"
|
|
encryption_keys:
|
|
- "{{ backup_gpg.id }}"
|
|
|
|
# Should the systemd timer be enabled to automatically backup every day?
|
|
backup_timer_enabled: true
|
|
backup_timer_state: 'started'
|