update local.cfg, call rear mkrescue for testing

This commit is contained in:
Chris Hammer 2024-10-21 11:17:24 -04:00
parent 00707f5913
commit 6335aa2120
4 changed files with 19 additions and 5 deletions

View File

@ -16,8 +16,6 @@
mode: "0600" mode: "0600"
- name: Execute ReaR backup - name: Execute ReaR backup
ansible.builtin.debug: ansible.builtin.command: rear -d -v mkrescue
msg: "Executing ReaR backup explicitly including the '{{ bigboot_lv_vg_name | default('unknown') | trim }}' logical volume." changed_when: true
register: rear_mkbackup
...

View File

@ -15,6 +15,10 @@ GRUB_RESCUE=1
KERNEL_CMDLINE="unattended" KERNEL_CMDLINE="unattended"
USER_INPUT_TIMEOUT=1 USER_INPUT_TIMEOUT=1
USER_INPUT_DISK_LAYOUT_PROCEED_RECOVERY=yes USER_INPUT_DISK_LAYOUT_PROCEED_RECOVERY=yes
# REAR_INITRD_COMPRESSION="lzma"
# FIRMWARE_FILES=('no')
MODULES=('loaded_modules')
# EXCLUDE_MD5SUM_VERIFICATION='all'
{% if bigboot_lv_vg_name is defined and bigboot_lv_vg_name|trim == "system" %} {% if bigboot_lv_vg_name is defined and bigboot_lv_vg_name|trim == "system" %}
ONLY_INCLUDE_VG=( "system" ) ONLY_INCLUDE_VG=( "system" )
{% else %} {% else %}

View File

@ -3,5 +3,9 @@
ansible.builtin.debug: ansible.builtin.debug:
msg: "Executing ReaR restore..." msg: "Executing ReaR restore..."
- name: Just checking...
ansible.builtin.debug:
msg: "Checking twice to be certain..."
... ...

View File

@ -15,4 +15,12 @@
when: when:
- namehost is defined - namehost is defined
- name: Debug roles_path
ansible.builtin.debug:
var: roles_path
- name: Include rear_restore role for fun
ansible.builtin.import_role:
name: ../roles/rear_restore
... ...