From 8c41fee7bfc180d3936875335add823e6b1accd6 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Thu, 28 Sep 2017 22:18:17 -0700 Subject: [PATCH] Fix typo --- lib/ansible/module_utils/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index 1a4ab8ed39e..19c112577ed 100644 --- a/lib/ansible/module_utils/basic.py +++ b/lib/ansible/module_utils/basic.py @@ -1696,7 +1696,7 @@ class AnsibleModule(object): if count == 0: missing.append(check) if len(missing) and len(missing) >= max_missing_count: - msg = "%s is %s but %s of the following are missing: %s" % (key, val, ', '.join(missing)) + msg = "%s is %s but %s of the following are missing: %s" % (key, val, term, ', '.join(missing)) if self._options_context: msg += " found in %s" % " -> ".join(self._options_context) self.fail_json(msg=msg)