From c5557ad872428143b71aaf5344a18dabd642ca46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Moser?= Date: Tue, 19 Mar 2024 16:27:40 +0100 Subject: [PATCH] fix wording in error msg (#82848) --- lib/ansible/playbook/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/playbook/base.py b/lib/ansible/playbook/base.py index 49784901796..96c3b9815dc 100644 --- a/lib/ansible/playbook/base.py +++ b/lib/ansible/playbook/base.py @@ -560,7 +560,7 @@ class FieldAttributeBase: setattr(self, name, value) except (TypeError, ValueError) as e: value = getattr(self, name) - raise AnsibleParserError("the field '%s' has an invalid value (%s), and could not be converted to an %s. " + raise AnsibleParserError("the field '%s' has an invalid value (%s), and could not be converted to %s. " "The error was: %s" % (name, value, attribute.isa, e), obj=self.get_ds(), orig_exc=e) except (AnsibleUndefinedVariable, UndefinedError) as e: if templar._fail_on_undefined_errors and name != 'name':