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

@ -65,6 +65,13 @@
changed_when: true
register: rear_mkbackup
- name: Update ReaR Grub menu item
ansible.builtin.lineinfile:
path: "{{ rear_grub_conf }}"
line: "menuentry '{{ rear_grub_label }}' --class os {"
state: present
notify: Update Grub
- name: ReaR backup success
ansible.builtin.debug:
msg: "ReaR backup has completed successfully."