From df58f265d756f7ee8ef1a9a04b4c0c8af2394362 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Fri, 21 Oct 2022 16:43:10 +0300 Subject: [PATCH] update whereis for binaries --- tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index cffe056..1ca1856 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -8,7 +8,7 @@ msg: "{{ which_puppet }}" - name: Obtain path to puppet binary using whereis - shell: "whereis puppet | awk 'BEGIN {FS=\" \"} {print($2)}'" + shell: "whereis -b puppet | awk 'BEGIN {FS=\" \"} {print($2)}'" register: which_puppet when: which_puppet.stdout == ""