From 729e7471d6b1d5c324ff9ae284b40ca316f10bbb Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Mon, 18 Jun 2018 14:51:38 -0500 Subject: [PATCH] Fix name of action plugin in error message (#41665) --- lib/ansible/plugins/action/include_vars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/plugins/action/include_vars.py b/lib/ansible/plugins/action/include_vars.py index 4d0844010c5..b07af742d80 100644 --- a/lib/ansible/plugins/action/include_vars.py +++ b/lib/ansible/plugins/action/include_vars.py @@ -100,7 +100,7 @@ class ActionModule(ActionBase): elif arg in self.VALID_ALL: pass else: - raise AnsibleError('{0} is not a valid option in debug'.format(arg)) + raise AnsibleError('{0} is not a valid option in include_vars'.format(arg)) if dirs and files: raise AnsibleError("Your are mixing file only and dir only arguments, these are incompatible")