mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Added more info to the no action detected error
Error fix
This commit is contained in:
parent
1aaf5a399c
commit
b220051c14
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ class ModuleArgsParser:
|
||||||
obj=self._task_ds)
|
obj=self._task_ds)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
raise AnsibleParserError("no action detected in task", obj=self._task_ds)
|
raise AnsibleParserError("no action detected in task. This often indicates a misspelled module name, or incorrect module path.", obj=self._task_ds)
|
||||||
elif args.get('_raw_params', '') != '' and action not in RAW_PARAM_MODULES:
|
elif args.get('_raw_params', '') != '' and action not in RAW_PARAM_MODULES:
|
||||||
templar = Templar(loader=None)
|
templar = Templar(loader=None)
|
||||||
raw_params = args.pop('_raw_params')
|
raw_params = args.pop('_raw_params')
|
||||||
|
|
Loading…
Reference in a new issue