--- # 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 . # 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'