This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Failed to locate command: [Errno 2] No such file or directory: 'git' #2848
Labels
You can continue the conversation there. Go to discussion →
Summary
The issue of 'git' not being automatically excluded has apparently regressed/reocurred, and so -- when the
git
command is not found, an error message is displayed when runningansible-lint --version
.I've just installed ansible-lint v6.10 (in a python:3-slim container) and see this error when running
ansible-lint --version
.A similar / same symptom was previously addressed in #2641 / #2633 (reported for ansible-lint ver 6.8.4).
Issue Type
OS / ENVIRONMENT
Since the prior issue (#2641 in October) related to a "Fix pip version check", I'm including confirmation that a current version of pip is installed and running in this same container.
It seems the same issue is present in ansible-lint v6.9.1 and v6.8.7
STEPS TO REPRODUCE
Desired Behavior
Unexpected / unnecesarry error messages are not shown when
ansible-lint --version
is run.Actual Behavior
Unexpected / unnecesarry error messages are shown when
ansible-lint --version
is run.The text was updated successfully, but these errors were encountered: