fix whereis

This commit is contained in:
Antonio J. Delgado 2022-10-17 13:00:51 +03:00
parent a9727f839b
commit 4a5495089c

View file

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