-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
False
-
-
False
-
-
-
en-US (English)
Please fill in the following information:
Issue description
In the section 8.2 GE "Including and Importing Files" we have students use a tasks file which is called "site.yml". This is questionable in general because the file name "site.yml" is typically used in Ansible projects for a main "playbook of playbooks". In this case though it is actually broken because the VSCode plugin assumes "site.yml" must be a playbook even though it's in a tasks/ directory.
The result is that the syntax validation shows spurious errors in "tasks/site.yml".
Steps to reproduce:
Start the GE and load tasks/site.yml in vscode as suggested in step 2.4. You will see red squiggles indicating errors even though the syntax is correct.
Expected result:
In this course it is very important that all Ansible content intended to be seen by students show as correct with the vscode plugin, since it's the only tool they have available to validate syntax.