-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash with duplicate keys #689
Labels
Comments
Probably should return a violation of https://ansible-lint.readthedocs.io/en/latest/default_rules.html#failed-to-load-or-parse-file instead of showing a stacktrace, right? |
Yes, I think so. |
@Shm013 is this still relevant to |
Closing as this will be fixed by #953 -- we should not spend more effort on YAML-specific errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Type
Ansible and Ansible Lint details
Desired Behaviour
ansible-lint crash when test duplicate dict keys.
Actual Behaviour (Bug report only)
My ansible code
roles/cops.disk-scripts/tasks/file.yml:
Run command
ansible-lint playbooks/disk-script.yml:
The text was updated successfully, but these errors were encountered: