Skip to content

Commit

Permalink
Debug location of ansible-connection when found (ansible#61998)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qalthos authored and chkp-orso committed Sep 18, 2019
1 parent 312c3a1 commit f88c17b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ansible/executor/task_executor.py
Expand Up @@ -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'. "
Expand Down

0 comments on commit f88c17b

Please sign in to comment.