From 8d289a9d0971905880a0426eb1d1e8bd86b35486 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Sun, 21 Jul 2024 00:45:11 -0400 Subject: [PATCH] fixdebugging --- bigboot_rear_backup.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/bigboot_rear_backup.yml b/bigboot_rear_backup.yml index 01dd972..7ea55da 100644 --- a/bigboot_rear_backup.yml +++ b/bigboot_rear_backup.yml @@ -1,11 +1,18 @@ --- -- name: Debug bigboot_execute_shrink_lv - ansible.builtin.debug: - msg: "bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] -> {{ bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] }}" +- name: Capture boot and logical volume information + hosts: all + become: true + gather_facts: true + strategy: free -- name: Debug bigboot_execute_bigboot - ansible.builtin.debug: - msg: "bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] -> {{ bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] }}" + tasks: + - name: Debug bigboot_execute_shrink_lv + ansible.builtin.debug: + msg: "bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] -> {{ bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] }}" + + - name: Debug bigboot_execute_bigboot + ansible.builtin.debug: + msg: "bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] -> {{ bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] }}" - name: Perform a ReaR backup if any disk modifications are to be made ansible.builtin.import_playbook: rhc.rear.rear_backup