diff --git a/tasks/check_space_fallback.yml b/tasks/check_space_fallback.yml index 33dd9fc..294ff8e 100644 --- a/tasks/check_space_fallback.yml +++ b/tasks/check_space_fallback.yml @@ -1,4 +1,12 @@ --- +- name: Convert size target to bytes + ansible.builtin.set_fact: + bigboot_size_target: "{{ bigboot_size_target | human_to_bytes }}" + +- name: Debug bigboot_expansion_diff + ansible.builtin.debug: + msg: "{{ bigboot_expansion_diff }} + {{ bigboot_size_target }}" + - name: Fail if /boot can't expand to at least 1GB ansible.builtin.assert: that: bigboot_size_target | human_to_bytes > 1073741824