-
Notifications
You must be signed in to change notification settings - Fork 685
Add additional default search paths for the config file #2072
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
Conversation
Signed-off-by: Markus Teufelberger <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be honest I am against this change because it adds complexity and affects loading speed. I do not think that we need to support some many variations.
Keep in mind that any change in that are is likely to need updates for other tools that are looking for config, like IDE extensions. It can have a cascading effect.
Still, I will not use any veto powers to block it, so I will wait for more feedback before making a decision.
I'll update https://github.com/ansible/schemas next (the path there is wrong anyways) |
Honestly I am very confused why If you still think that these are too many I would also be fine with only supporting
I do not know of any tool to which this would apply. IDE extensions simply call ansible-lint from the root of the opened directory and parse its result. |
As an additional data point:
Source: https://yamllint.readthedocs.io/en/stable/configuration.html |
For the moment we will not add support for additional configuration filenames. |
Why did you not tell me this in the feature request that was open for about 2 weeks before I did this pull request? What changed in the past 2 weeks that this gets now denied? This is frustrating. |
Resolves the feature request in #2056
I didn't change
ansible-lint/src/ansiblelint/app.py
Line 167 in c058c6d
-c
it should be enough to only reference that location.