From 4a5495089c70c51481bf857d78d062d45849b744 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 17 Oct 2022 13:00:51 +0300 Subject: [PATCH] fix whereis --- tasks/configure.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure.yml b/tasks/configure.yml index e533577..776750e 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -50,7 +50,7 @@ msg: "Puppet command: '{{ which_puppet.stdout }}'" - name: Find puppet command with where - shell: "whereis puppet | awk 'BEGIN {FS=\": \"} {print($2)}'" + shell: "whereis puppet | awk 'BEGIN {FS=\" \"} {print($2)}'" register: which_puppet when: which_puppet.stdout == ""