Updates for new solution
This commit is contained in:
parent
6335aa2120
commit
ff3edfa5f0
@ -1,2 +1,9 @@
|
||||
---
|
||||
rear_nfs_srv: "10.10.42.180/backups"
|
||||
|
||||
# rear_backup_initrd_modules_exclude:
|
||||
# - scsi_debug
|
||||
# - falcon_lsm_serviceable
|
||||
# - falcon_nf_netcontains
|
||||
# - falcon_kal
|
||||
# - falcon_lsm_pinned_16407
|
||||
|
@ -15,10 +15,11 @@ GRUB_RESCUE=1
|
||||
KERNEL_CMDLINE="unattended"
|
||||
USER_INPUT_TIMEOUT=1
|
||||
USER_INPUT_DISK_LAYOUT_PROCEED_RECOVERY=yes
|
||||
# REAR_INITRD_COMPRESSION="lzma"
|
||||
# FIRMWARE_FILES=('no')
|
||||
MODULES=('loaded_modules')
|
||||
# EXCLUDE_MD5SUM_VERIFICATION='all'
|
||||
{% if ansible_virtualization_role == 'guest' %}
|
||||
FIRMWARE_FILES=('no')
|
||||
{% else %}
|
||||
REAR_INITRD_COMPRESSION="lzma"
|
||||
{% endif %}
|
||||
{% if bigboot_lv_vg_name is defined and bigboot_lv_vg_name|trim == "system" %}
|
||||
ONLY_INCLUDE_VG=( "system" )
|
||||
{% else %}
|
||||
|
33
roles/rear_backup/templates/local.conf.j2.bak
Normal file
33
roles/rear_backup/templates/local.conf.j2.bak
Normal file
@ -0,0 +1,33 @@
|
||||
##############################################
|
||||
# *** MANAGED BY ANSIBLE - DO NOT MODIFY *** #
|
||||
##############################################
|
||||
|
||||
OUTPUT=ISO
|
||||
OUTPUT_URL=nfs://{{ rear_nfs_srv }}
|
||||
BACKUP=NETFS
|
||||
BACKUP_URL=nfs://{{ rear_nfs_srv }}
|
||||
# SSH_ROOT_PASSWORD="bob"
|
||||
USE_STATIC_NETWORKING=yes
|
||||
CLONES_ALL_USERS_GROUPS=yes
|
||||
SSH_FILES=yes
|
||||
SSH_UNPROTECTED_PRIVATE_KEYS=yes
|
||||
GRUB_RESCUE=1
|
||||
KERNEL_CMDLINE="unattended"
|
||||
USER_INPUT_TIMEOUT=1
|
||||
USER_INPUT_DISK_LAYOUT_PROCEED_RECOVERY=yes
|
||||
# REAR_INITRD_COMPRESSION="lzma"
|
||||
# FIRMWARE_FILES=('no')
|
||||
# MODULES=('loaded_modules')
|
||||
{% if rear_backup_initrd_modules_exclude is defined %}
|
||||
EXCLUDE_MODULES=( {{ rear_backup_initrd_modules_exclude | join(' ') }} )
|
||||
{% endif %}
|
||||
{% if bigboot_lv_vg_name is defined and bigboot_lv_vg_name|trim == "system" %}
|
||||
ONLY_INCLUDE_VG=( "system" )
|
||||
{% else %}
|
||||
ONLY_INCLUDE_VG=( "system" {% if bigboot_lv_vg_name is defined %}"{{ bigboot_lv_vg_name | trim }}" {% endif -%} )
|
||||
{% endif %}
|
||||
{% if bigboot_lv_info['mount'] is not defined or (bigboot_lv_info['mount'] is defined and bigboot_lv_info['mount'] != '/applog') %}
|
||||
BACKUP_PROG_EXCLUDE=( "${BACKUP_PROG_EXCLUDE[@]}" '/applog' )
|
||||
EXCLUDE_MOUNTPOINTS=( "${EXCLUDE_MOUNTPOINTS[@]" '/applog' )
|
||||
EXCLUDE_BACKUP=("${EXCLUDE_BACKUP[@]}" fs:/applog )
|
||||
{% endif %}
|
Loading…
x
Reference in New Issue
Block a user