New role; path fix
This commit is contained in:
@ -51,12 +51,8 @@
|
||||
group: root
|
||||
|
||||
- name: Configure ReaR local.conf file
|
||||
ansible.builtin.template:
|
||||
src: local.conf.j2
|
||||
dest: /etc/rear/local.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: "0600"
|
||||
ansible.builtin.include_role:
|
||||
name: rear_local_cfg
|
||||
|
||||
- name: ReaR Backup
|
||||
block:
|
||||
|
@ -1,32 +0,0 @@
|
||||
##############################################
|
||||
# *** MANAGED BY ANSIBLE - DO NOT MODIFY *** #
|
||||
##############################################
|
||||
|
||||
OUTPUT=ISO
|
||||
OUTPUT_URL=nfs://{{ nfs_srv }}{{ rear_nfs_backup_share }}
|
||||
BACKUP=NETFS
|
||||
BACKUP_URL=nfs://{{ nfs_srv }}{{ rear_nfs_backup_share }}
|
||||
# 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
|
||||
{% 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 %}
|
||||
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 %}
|
Reference in New Issue
Block a user