From f8b500a0dc90fdcfa83f5abe552de0c6c66daa5f Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Thu, 11 Jul 2024 10:26:09 -0400 Subject: [PATCH] fixes --- bigboot-noop.yml | 4 ++-- bigboot_rear_backup.yml | 22 +++++----------------- 2 files changed, 7 insertions(+), 19 deletions(-) diff --git a/bigboot-noop.yml b/bigboot-noop.yml index 8b6fb37..6507a2e 100644 --- a/bigboot-noop.yml +++ b/bigboot-noop.yml @@ -22,8 +22,8 @@ - name: Perform a ReaR backup if any disk modifications are to be made ansible.builtin.import_playbook: rhc.rear.rear_backup when: - - bigboot_execute_bigboot | bool - # - not bigboot_skip_rear_backup | bool + - bigboot_execute_bigboot | default('false') | bool + - not bigboot_skip_rear_backup | default('true') | bool - name: Perform logical volume and boot parition resizing as needed diff --git a/bigboot_rear_backup.yml b/bigboot_rear_backup.yml index 9013549..ffde0d6 100644 --- a/bigboot_rear_backup.yml +++ b/bigboot_rear_backup.yml @@ -1,18 +1,6 @@ --- -- name: Perform a ReaR backup - hosts: all - become: true - gather_facts: true - strategy: free - - vars_files: - - bigboot_vars.yml - - tasks: - - name: Perform a ReaR backup if any disk modifications are to be made - ansible.builtin.import_playbook: rhc.rear.rear_backup - when: - - bigboot_execute_bigboot | bool - - not bigboot_skip_rear_backup | bool - -... +- name: Perform a ReaR backup if any disk modifications are to be made + ansible.builtin.import_playbook: rhc.rear.rear_backup + when: + - bigboot_execute_bigboot | default('false') | bool + - not bigboot_skip_rear_backup | default('true') | bool