summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhijeet Kasurde <akasurde@redhat.com>2020-04-09 21:19:04 +0530
committerGitHub <noreply@github.com>2020-04-09 11:49:04 -0400
commit0f8937f2ed57402395e975250cff85332a8ee8b0 (patch)
tree606019b09a460ae8b590784e30511707e650eca1
parent780067e6a1afc29a1c8b6e763b0e3148815a0a8d (diff)
downloadansible-0f8937f2ed57402395e975250cff85332a8ee8b0.tar.gz
basic: Update required library message (#68657)
Updated missing_required_lib API message. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
-rw-r--r--changelogs/fragments/required_lib_message.yml2
-rw-r--r--lib/ansible/module_utils/basic.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/changelogs/fragments/required_lib_message.yml b/changelogs/fragments/required_lib_message.yml
new file mode 100644
index 0000000000..4eae38c7f0
--- /dev/null
+++ b/changelogs/fragments/required_lib_message.yml
@@ -0,0 +1,2 @@
+minor_changes:
+- Update required library message with correct grammer in basic.py.
diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py
index 185b0ebe07..a4d211f4d4 100644
--- a/lib/ansible/module_utils/basic.py
+++ b/lib/ansible/module_utils/basic.py
@@ -558,7 +558,7 @@ def missing_required_lib(library, reason=None, url=None):
if url:
msg += " See %s for more info." % url
- msg += (" Please read module documentation and install in the appropriate location."
+ msg += (" Please read the module documentation and install it in the appropriate location."
" If the required library is installed, but Ansible is using the wrong Python interpreter,"
" please consult the documentation on ansible_python_interpreter")
return msg