Add restore functionality; update backup to include grub menu update

This commit is contained in:
2025-02-24 15:27:02 -05:00
parent c8f40471cd
commit 8cea8158e9
4 changed files with 21 additions and 9 deletions

View File

@ -0,0 +1,5 @@
---
- name: verified_reboot
src: https://gitea.thezengarden.net/ansible_plays/verified_reboot.git
scm: git
version: main

View File

@ -1,11 +1,7 @@
---
- name: Execute ReaR backup
ansible.builtin.debug:
msg: "Executing ReaR restore..."
- name: Restore the server using ReaR backup
ansible.builtin.command: "grub2-reboot 'Relax-and-Recover *** RESTORES RHEL7 ***'"
- name: Just checking...
ansible.builtin.debug:
msg: "Checking twice to be certain..."
...
- name: Reboot host
ansible.builtin.import_role:
name: verified_reboot