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

pull/31736/merge
Andrew Gaffney 7 years ago committed by Abhijit Menon-Sen
parent 3e6c76fc2e
commit 729e7471d6

@ -100,7 +100,7 @@ class ActionModule(ActionBase):
elif arg in self.VALID_ALL: elif arg in self.VALID_ALL:
pass pass
else: 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: if dirs and files:
raise AnsibleError("Your are mixing file only and dir only arguments, these are incompatible") raise AnsibleError("Your are mixing file only and dir only arguments, these are incompatible")

Loading…
Cancel
Save