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 == ""