From c2e507b42d7f4669ab287bdd11ea478926be1f0a Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Tue, 4 Aug 2020 17:14:29 +0200 Subject: [PATCH] purge-cluster: replace shell by command in a task There is no need to use `shell` here. Signed-off-by: Guillaume Abrioux --- infrastructure-playbooks/purge-cluster.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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