1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix name of action plugin in error message (#41665)

This commit is contained in:
Andrew Gaffney 2018-06-18 14:51:38 -05:00 committed by Abhijit Menon-Sen
parent 3e6c76fc2e
commit 729e7471d6

View file

@ -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")