Failures will result in cleanup.
This commit is contained in:
parent
8e194f9fe5
commit
d0888f3737
@ -57,3 +57,7 @@
|
||||
name: infra.lvm_snapshots.bigboot
|
||||
vars:
|
||||
bigboot_partition_size: "{{ bigboot_size_target }}"
|
||||
|
||||
rescue:
|
||||
- name: Cleanup from any previous executions
|
||||
ansible.builtin.import_tasks: tasks/cleanup.yml
|
||||
|
9
tasks/validate_rear_backup.yml
Normal file
9
tasks/validate_rear_backup.yml
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
- name: Validate ReaR backup completion
|
||||
ansible.builtin.command:
|
||||
cmd: "grep 'Finished running mkbackup workflow' /var/log/rear/rear-{{ ansible_hostname }}.log"
|
||||
register: validate_backup_log
|
||||
|
||||
- name: Debug validate_backup_log
|
||||
ansible.builtin.debug:
|
||||
var: validate_backup_log
|
Loading…
x
Reference in New Issue
Block a user