summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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