update whereis for binaries
This commit is contained in:
parent
8ab2629423
commit
df58f265d7
1 changed files with 1 additions and 1 deletions
|
@ -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 == ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue