Skip to content
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

ansible-lint lints successfully non-existing directories #3466

Closed
vlotorev opened this issue May 19, 2023 · 1 comment · Fixed by #3467
Closed

ansible-lint lints successfully non-existing directories #3466

vlotorev opened this issue May 19, 2023 · 1 comment · Fixed by #3467
Assignees

Comments

@vlotorev
Copy link

vlotorev commented May 19, 2023

Summary
Issue Type
  • Bug Report
OS / ENVIRONMENT
ansible-lint 6.16.1 using ansible-core:2.14.5 ruamel-yaml:None ruamel-yaml-clib:None
  • ansible installation method: pip
  • ansible-lint installation method: pip
STEPS TO REPRODUCE
mkdir tmp
cd tmp
ansible-lint asdf
Passed with production profile: 0 failure(s), 0 warning(s) on 1 files.
Desired Behavior

ansible-lint fails (exits with non-zero status code) and reports what items (directories) are not found.

Actual Behavior

ansible-lint finishes successfully and exits with zero status code

@vlotorev vlotorev added bug new Triage required labels May 19, 2023
@ssbarnea ssbarnea self-assigned this May 20, 2023
@ssbarnea ssbarnea removed the bug label May 20, 2023
@ssbarnea
Copy link
Member

I am quite curious how you install the linter considering that it reports version none for ruamel-yaml, which indicates that it will either not work or that we have another bug related to reading its version.

What is the output of pip freeze|grep ruamel ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants