diff --git a/roles/ceph-validate/tasks/check_devices.yml b/roles/ceph-validate/tasks/check_devices.yml index f709379a2..d8310490a 100644 --- a/roles/ceph-validate/tasks/check_devices.yml +++ b/roles/ceph-validate/tasks/check_devices.yml @@ -11,7 +11,7 @@ - name: fail if one of the devices is not a device fail: - msg: "{{ item }} is not a block special file!" + msg: "{{ item.item }} is not a block special file!" when: item.rc is defined with_items: "{{ devices_parted.results }}" when: @@ -29,7 +29,7 @@ - name: fail if one of the dedicated_device is not a device fail: - msg: "{{ item }} is not a block special file!" + msg: "{{ item.item }} is not a block special file!" with_items: "{{ dedicated_device_parted.results }}" when: - osd_scenario == 'non-collocated'