add bigboot_rear_restore.yml playbook

This commit is contained in:
Chris Hammer 2024-09-11 16:16:16 -04:00
parent fde58e368d
commit ca0ecb570d

17
bigboot_rear_restore.yml Normal file
View File

@ -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