]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
purge-cluster: replace shell by command in a task
authorGuillaume Abrioux <gabrioux@redhat.com>
Tue, 4 Aug 2020 15:14:29 +0000 (17:14 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 5 Aug 2020 07:37:41 +0000 (09:37 +0200)
There is no need to use `shell` here.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/purge-cluster.yml

index 7cecdf39d97ce1652683475ee33cc1ab7a47963f..36953cec9ce039c82aa47060d65914262dbddc03 100644 (file)
     register: ceph_lockbox_partition_to_erase_path
 
   - name: see if ceph-volume is installed
-    shell: "command -v ceph-volume"
+    command: command -v ceph-volume
     failed_when: false
     register: ceph_volume_present