From: Guillaume Abrioux Date: Tue, 4 Aug 2020 15:14:29 +0000 (+0200) Subject: purge-cluster: replace shell by command in a task X-Git-Tag: v6.0.0alpha2~86 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c2e507b42d7f4669ab287bdd11ea478926be1f0a;p=ceph-ansible.git purge-cluster: replace shell by command in a task There is no need to use `shell` here. Signed-off-by: Guillaume Abrioux --- diff --git a/infrastructure-playbooks/purge-cluster.yml b/infrastructure-playbooks/purge-cluster.yml index 7cecdf39d..36953cec9 100644 --- a/infrastructure-playbooks/purge-cluster.yml +++ b/infrastructure-playbooks/purge-cluster.yml @@ -476,7 +476,7 @@ 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