# I believe it's safer
#
-- name: Check if device is a partition or a disk
+- name: Check if the device is a partition or a disk
shell: echo '{{ item }}' | egrep '/dev/[a-z]{3}[0-9]$'
ignore_errors: true
with_items: devices
# - start ceph-osd
#
-# This task if for disk device only because of the explicit use of the first
+# This task is for disk devices only because of the explicit use of the first
# partition.
- name: Activate OSD(s) when device is a disk
# I believe it's safer
#
-- name: Check if device is a partition or a disk
+- name: Check if the device is a partition or a disk
shell: echo '{{ item }}' | egrep '/dev/[a-z]{3}[0-9]$'
ignore_errors: true
with_items: devices
# - start ceph-osd
#
-# This task if for disk device only because of the explicit use of the first
+# This task is for disk devices only because of the explicit use of the first
# partition.
- name: Activate OSD(s) when device is a disk
# I believe it's safer
#
-- name: Check if device is a partition or a disk
+- name: Check if the device is a partition or a disk
shell: echo '{{ item }}' | egrep '/dev/[a-z]{3}[0-9]$'
ignore_errors: true
with_items: devices
# - start ceph-osd
#
-# This task if for disk device only because of the explicit use of the first
+# This task is for disk devices only because of the explicit use of the first
# partition.
- name: Activate OSD(s) when device is a disk