Slight tweaks

This commit is contained in:
2025-02-05 14:53:45 -05:00
parent 46ea789d8c
commit 42f4a94685
5 changed files with 67 additions and 7 deletions

View File

@ -1,6 +1,8 @@
---
rear_nfs_srv: "10.10.42.180/backups"
rear_backup_success_file: /var/log/IPE/IPU/bigboot_success
# rear_backup_initrd_modules_exclude:
# - scsi_debug
# - falcon_lsm_serviceable

View File

@ -16,16 +16,19 @@
mode: "0600"
- name: ReaR Backup
when:
- rear_force_backup | default(false) | bool
block:
- name: Execute ReaR backup
ansible.builtin.command: rear -d -v mkbackup
changed_when: true
register: rear_mkbackup
- name: ReaR backup success
ansible.builtin.debug:
msg: "ReaR backup has completed successfully."
rescue:
- name: ReaR backup failed
ansible.builtin.debug:
msg: "ReaR backup has failed. Please review the logs for any errors, and try again."
- name: ReaR backup success
ansible.builtin.debug:
msg: "ReaR backup has completed successfully."