update whereis for binaries
This commit is contained in:
parent
52d4c1b29a
commit
6537a5ffb5
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
register: which_puppetserver
|
||||
|
||||
- name: Find puppetserver command with where
|
||||
shell: "whereis puppetserver | awk 'BEGIN {FS=\": \"} {print($2)}'"
|
||||
shell: "whereis -b puppetserver | awk 'BEGIN {FS=\": \"} {print($2)}'"
|
||||
register: which_puppetserver
|
||||
when: which_puppetserver.stdout == ""
|
||||
|
||||
|
@ -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 -b puppet | awk 'BEGIN {FS=\" \"} {print($2)}'"
|
||||
register: which_puppet
|
||||
when: which_puppet.stdout == ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue