shaded-enmity/ansible-schema-generator

Issue with include_tasks and import_tasks

JPinkney opened this issue · 4 comments

I'm not familiar with ansible but it seems include_tasks and import_tasks should be strings or objects instead of just objects.

Related link: redhat-developer/vscode-yaml#105

Hi @shaded-enmity I can confirm this is an issue. When a module accepts free-form then the expected type should be a string.

@JPinkney @cmendible Ahh, sorry for not responding sooner, for some reason I wasn't notified about the original issue.

I have a new version in brewing where this should be fixed, the problem is that the current code can handle only free_form command modules (raw, shell, command, script) while these "meta include/import" modules are something slightly different (and use free-form).

I should be able to get around to releasing a new schemas by Friday.

Thanks!

Closing the issue, if there are still problems with this please open a new one.