purge-cluster: replace shell by command in a task

There is no need to use `shell` here.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/5635/head
Guillaume Abrioux 2020-08-04 17:14:29 +02:00
parent fe8fbd3ee2
commit c2e507b42d
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@
register: ceph_lockbox_partition_to_erase_path register: ceph_lockbox_partition_to_erase_path
- name: see if ceph-volume is installed - name: see if ceph-volume is installed
shell: "command -v ceph-volume" command: command -v ceph-volume
failed_when: false failed_when: false
register: ceph_volume_present register: ceph_volume_present