Update assertion

This commit is contained in:
Chris Hammer 2025-01-08 15:20:13 -05:00
parent 9c87c1311e
commit e68d127845

View File

@ -4,7 +4,7 @@
- name: Assert that the mount point exists - name: Assert that the mount point exists
ansible.builtin.assert: ansible.builtin.assert:
that: (shrink_lv_mount_info | length) == 1 that: shrink_lv_mount_info['device'] is defined
fail_msg: "Mount point {{ item['device'] }} does not exist" fail_msg: "Mount point {{ item['device'] }} does not exist"
- name: Assert that the filesystem is supported - name: Assert that the filesystem is supported