From ca0ecb570d9e10b0b78a976e2f1dd1d66399f169 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Wed, 11 Sep 2024 16:16:16 -0400 Subject: [PATCH] add bigboot_rear_restore.yml playbook --- bigboot_rear_restore.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 bigboot_rear_restore.yml diff --git a/bigboot_rear_restore.yml b/bigboot_rear_restore.yml new file mode 100644 index 0000000..67d09ec --- /dev/null +++ b/bigboot_rear_restore.yml @@ -0,0 +1,17 @@ +--- +- name: Execute a ReaR restore and restore system to pre-Bigboot state + hosts: all + become: true + gather_facts: true + strategy: free + + vars_files: + - bigboot_vars.yml + + tasks: + - name: Shrink the logical volume to support /boot expansion + ansible.builtin.import_role: + name: rhc.rear.rear_restore + + - name: Cleanup from any previous executions + ansible.builtin.import_tasks: tasks/cleanup.yml