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

correct typo on error reporting

fixes #12495
This commit is contained in:
Brian Coca 2015-09-23 10:11:52 -04:00
parent 6c3813ed37
commit de18bcb95f

View file

@ -517,7 +517,7 @@ class TaskExecutor:
if self._task.action in self._shared_loader_obj.action_loader:
if self._task.async != 0:
raise AnsibleError("async mode is not supported with the %s module" % module_name)
raise AnsibleError("async mode is not supported with the %s module" % self._task.action)
handler_name = self._task.action
elif self._task.async == 0:
handler_name = 'normal'