-
Notifications
You must be signed in to change notification settings - Fork 636
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
display of used profile wrong #3998
Comments
@cidrblock Maybe we can check on this because it seems to keep confusing users. We report the top profile that passed and people assume that is the "required" one. If your code passed production, it will always report "Passed with production profile" even if you asked for min, as min is included in production. |
Not sure whether you got me right. I'm not talking about the i'm talking about the
i explicitly pass the production profile and the output returns that it passed with min profile (and vice versa). |
Summary
when running ansible-lint the used profile in the out put is wrong:
whereas
Issue Type
OS / ENVIRONMENT
STEPS TO REPRODUCE
run ansible-lint against any playbook with cli param
---profile production
-> check outputrun ansible-lint against any playbook with cli param
---profile min
-> check outputDesired Behavior
show actual used profile
Possible security bugs should be reported via email to
[email protected]
Actual Behavior
displayed profile is flipped min <-> production ...
The text was updated successfully, but these errors were encountered: