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

pull/58152/head
Nathaniel Case 5 years ago committed by GitHub
parent 02c7f2f518
commit 9d93076a99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save