diff --git a/tasks/configure.yml b/tasks/configure.yml index 325a90c..cffe056 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 puppet | awk 'BEGIN {FS=\" \"} {print($2)}'" register: which_puppet when: which_puppet.stdout == ""