diff --git a/collections/ansible_collections/infra/lvm_snapshots/roles/shrink_lv/tasks/check_device.yaml b/collections/ansible_collections/infra/lvm_snapshots/roles/shrink_lv/tasks/check_device.yaml index fd1ff09..01453f8 100644 --- a/collections/ansible_collections/infra/lvm_snapshots/roles/shrink_lv/tasks/check_device.yaml +++ b/collections/ansible_collections/infra/lvm_snapshots/roles/shrink_lv/tasks/check_device.yaml @@ -4,7 +4,7 @@ - name: Assert that the mount point exists ansible.builtin.assert: - that: (shrink_lv_mount_info | length) == 1 + that: (shrink_lv_mount_info | length) >= 1 fail_msg: "Mount point {{ item.device }} does not exist" - name: Assert that the filesystem is supported diff --git a/collections/requirements.yml b/collections/requirements.yml index 7405d0f..3d8f229 100644 --- a/collections/requirements.yml +++ b/collections/requirements.yml @@ -5,6 +5,11 @@ collections: # type: git # version: main + # - name: infra.lvm_snapshots.shrink_lv + # source: https://github.com/jchristianh/infra.lvm_snapshots.git + # type: git + # version: check-device-fix + - name: rhc.rear source: https://gitea.thezengarden.net/ansible_collections/ansible-collection-rear.git type: git