Closed rjeffman closed 1 year ago
@rjeffman I'm able to see the desired output, when trying to reproduce the issue from ansible-lint
main branch.
I did try with the command you mentioned:
ansible-lint --offline --profile production --parseable --force-color tests/group/test_groups_present_slice.yml
and now I'm able to reproduce the issue.
ansible-lint
uses production
profile by default, so no need to pass it explicitly.
When I remove the --profile
argument it works:
ansible-lint --offline --parseable --force-color tests/group/test_groups_present_slice.yml
Will try to look into the profile
argument issue
Thank you for the workaround and for looking into this.
Summary
After updating ansible-lint from 6.20.3 to 6.21.0, it fails to report warnings and stop execution with an exception stack trace.
Issue Type
OS / ENVIRONMENT
Ansible and ansible-lint installation was through
pip
, in a virtual environment (venv
).STEPS TO REPRODUCE
Run
ansible-lint
against filetest_groups_present_slice.yml
inansible-freeipa
collection.Desired Behavior
The same behavior as in ansible-lint 6.20.3 is expected:
Actual Behavior
An exception is raised and a stack trace is given: