Open cidrblock opened 2 years ago
I just found this feature request while looking at an issue I have with the auto detection mode (see here https://github.com/ansible/ansible-lint/discussions/2166). Isn't there already a playbook detection there:
https://gist.github.com/cidrblock/87a874b2ac34d894dc56e8451d577eaa
This is related, although I don't think lint can fix it... :)
We should be able to determine with some degree of confidence that a yaml file is a playbook and warn they should be in a ./playbooks directory.