fix whereis
This commit is contained in:
parent
a9727f839b
commit
4a5495089c
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@
|
||||||
msg: "Puppet command: '{{ which_puppet.stdout }}'"
|
msg: "Puppet command: '{{ which_puppet.stdout }}'"
|
||||||
|
|
||||||
- name: Find puppet command with where
|
- 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
|
register: which_puppet
|
||||||
when: which_puppet.stdout == ""
|
when: which_puppet.stdout == ""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue