logic fix
This commit is contained in:
parent
eb3dd2308e
commit
056ad0cf2d
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
- name: Execute ReaR backup
|
- name: Execute ReaR backup
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "Executing ReaR backup explicitly including the '{{ bigboot_lv_vg_name | trim }}' logical volume."
|
msg: "Executing ReaR backup explicitly including the '{{ bigboot_lv_vg_name | default('unknown') | trim }}' logical volume."
|
||||||
|
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -2,10 +2,16 @@
|
|||||||
# *** MANAGED BY ANSIBLE - DO NOT MODIFY *** #
|
# *** MANAGED BY ANSIBLE - DO NOT MODIFY *** #
|
||||||
##############################################
|
##############################################
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
OUTPUT=ISO
|
OUTPUT=ISO
|
||||||
OUTPUT_URL=nfs://{{ rear_nfs_srv }}
|
OUTPUT_URL=nfs://{{ rear_nfs_srv }}
|
||||||
BACKUP=NETFS
|
BACKUP=NETFS
|
||||||
BACKUP_URL=nfs://{{ rear_nfs_srv }}
|
BACKUP_URL=nfs://{{ rear_nfs_srv }}
|
||||||
|
# SSH_ROOT_PASSWORD="bob"
|
||||||
USE_STATIC_NETWORKING=yes
|
USE_STATIC_NETWORKING=yes
|
||||||
CLONSE_ALL_USERS_GROUPS=yes
|
CLONSE_ALL_USERS_GROUPS=yes
|
||||||
SSH_FILES=yes
|
SSH_FILES=yes
|
||||||
@ -19,7 +25,7 @@ ONLY_INCLUDE_VG=( "system" )
|
|||||||
{% else %}
|
{% else %}
|
||||||
ONLY_INCLUDE_VG=( "system" {% if bigboot_lv_vg_name is defined %}"{{ bigboot_lv_vg_name | trim }}" {% endif -%} )
|
ONLY_INCLUDE_VG=( "system" {% if bigboot_lv_vg_name is defined %}"{{ bigboot_lv_vg_name | trim }}" {% endif -%} )
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if bigboot_lv_info.mount != '/applog' %}
|
{% 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' )
|
BACKUP_PROG_EXCLUDE=( "${BACKUP_PROG_EXCLUDE[@]}" '/applog' )
|
||||||
EXCLUDE_MOUNTPOINTS=( "${EXCLUDE_MOUNTPOINTS[@]" '/applog' )
|
EXCLUDE_MOUNTPOINTS=( "${EXCLUDE_MOUNTPOINTS[@]" '/applog' )
|
||||||
EXCLUDE_BACKUP=("${EXCLUDE_BACKUP[@]}" fs:/applog )
|
EXCLUDE_BACKUP=("${EXCLUDE_BACKUP[@]}" fs:/applog )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user