add debug for finding cmd

This commit is contained in:
Antonio J. Delgado 2023-09-18 19:27:30 +03:00
parent 21d03d5b0b
commit bdf18a4721

View file

@ -3,6 +3,10 @@
shell: which opendkim-genkey
register: which_result
- name: Show path to opendkim-genkey
debug:
var: which_result
- name: Find opendkim-genkey command using whereis
shell: "whereis opendkim-genkey | awk 'BEGIN {FS=\": \"} {print($2)}'"
register: which_result