Debug location of ansible-connection when found (#61998)

This commit is contained in:
Nathaniel Case 2019-09-09 12:06:54 -04:00 committed by GitHub
parent 02c7f2f518
commit 9d93076a99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'. "