Open kenmaglio opened 6 years ago
Out of curiosity which schema are you using for validation? Or do you have the vscode-ansible extension installed?
I tried with simply the out of box YAML integration. Then also installed the MSFT ansible module and it did not make a difference.
The file type did stay YAML ( and is a .yaml, not .yml ).
Just one more thing, was the file created under a folder name tasks? I'm only wondering because we use schema store to match well-known file types to schemas. My suspicion is that the schema in the schema store is wrong and thus creating an error.
if in an ansible playbook, you specify and use the URI module, and specify the body as a data format, the syntax highlighting throws an error stating 'String' expected.
This will produce an error