Debug location of ansible-connection when found (#61998)
This commit is contained in:
parent
02c7f2f518
commit
9d93076a99
1 changed files with 1 additions and 0 deletions
|
@ -1060,6 +1060,7 @@ def start_connection(play_context, variables):
|
|||
for dirname in candidate_paths:
|
||||
ansible_connection = os.path.join(dirname, 'ansible-connection')
|
||||
if os.path.isfile(ansible_connection):
|
||||
display.vvvv("Found ansible-connection at path {0}".format(ansible_connection))
|
||||
break
|
||||
else:
|
||||
raise AnsibleError("Unable to find location of 'ansible-connection'. "
|
||||
|
|
Loading…
Reference in a new issue