summaryrefslogtreecommitdiff
path: root/lib/ansible/module_utils
diff options
context:
space:
mode:
authorBrian Coca <bcoca@users.noreply.github.com>2021-09-01 12:38:57 -0400
committerGitHub <noreply@github.com>2021-09-01 11:38:57 -0500
commitad4d00e1dbcff86deb975faede6625777c411121 (patch)
tree9b58d3d29a8bff25ca6ed739f969579b162430c1 /lib/ansible/module_utils
parent463cf9fe244430249701509fc3ee7636a18afc44 (diff)
downloadansible-ad4d00e1dbcff86deb975faede6625777c411121.tar.gz
Clarify get_bin_path error message (#75544) (#75564)
(cherry picked from commit 3ca50a2200cba04b6fa82e27e485784cee011277)
Diffstat (limited to 'lib/ansible/module_utils')
-rw-r--r--lib/ansible/module_utils/common/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/module_utils/common/process.py b/lib/ansible/module_utils/common/process.py
index 91e818a023..f128cd9800 100644
--- a/lib/ansible/module_utils/common/process.py
+++ b/lib/ansible/module_utils/common/process.py
@@ -39,6 +39,6 @@ def get_bin_path(arg, opt_dirs=None, required=None):
bin_path = path
break
if bin_path is None:
- raise ValueError('Failed to find required executable %s in paths: %s' % (arg, os.pathsep.join(paths)))
+ raise ValueError('Failed to find required executable "%s" in paths: %s' % (arg, os.pathsep.join(paths)))
return bin_path