-
Notifications
You must be signed in to change notification settings - Fork 669
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
--version ignores --offline flag #4269
Comments
cavcrosby
added a commit
to cavcrosby/ansible-lint
that referenced
this issue
Jul 27, 2024
cavcrosby
added a commit
to cavcrosby/ansible-lint
that referenced
this issue
Jul 27, 2024
cavcrosby
added a commit
to cavcrosby/ansible-lint
that referenced
this issue
Jul 27, 2024
cavcrosby
added a commit
to cavcrosby/ansible-lint
that referenced
this issue
Aug 3, 2024
A conditional has been added to see if data is empty to prevent KeyError exceptions from happening because a cache file may not exist when using the --offline flag. This prevents data from ever being populated.
cavcrosby
added a commit
to cavcrosby/ansible-lint
that referenced
this issue
Aug 13, 2024
A conditional has been added to see if data is empty to prevent KeyError exceptions from happening because a cache file may not exist when using the --offline flag. This prevents data from ever being populated.
cavcrosby
added a commit
to cavcrosby/ansible-lint
that referenced
this issue
Aug 22, 2024
A conditional has been added to see if data is empty to prevent KeyError exceptions from happening because a cache file may not exist when using the --offline flag. This prevents data from ever being populated.
cavcrosby
added a commit
to cavcrosby/ansible-lint
that referenced
this issue
Aug 26, 2024
A conditional has been added to see if data is empty to prevent KeyError exceptions from happening because a cache file may not exist when using the --offline flag. This prevents data from ever being populated.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
--offline flag is not used while displaying version
Issue Type
OS / ENVIRONMENT
also last version were checked
24.7.0 is also affected, and may cause version check error in isolated environments
debian bookworm slim image, docker env, pip/pipx install
Desired Behavior
ansible-lint --offline --version
should return version w/o checking online resources
Actual Behavior
The text was updated successfully, but these errors were encountered: