You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run ansible-lint via Molecule in the molecule example in CI, it fails because Ansible is not installed. The latest versions of ansible-lint no longer strictly depend on Ansible, so it is not installed by default. Need to explicitly install it.
Molecule default > lint
COMMAND: set -e
yamllint .
ansible-lint
Unable to find a working copy of ansible executable. CompletedProcess(args=['ansible', '--version'], returncode=1, stdout='', stderr='Traceback (most recent call last):\n File "/usr/bin/ansible", line 34, in <module>\n from ansible import context\nModuleNotFoundError: No module named \'ansible\'\n')
CRITICAL Lint failed with error code 4
WARNING An error occurred during the test sequence action: 'lint'. Cleaning up.
The text was updated successfully, but these errors were encountered:
When I run
ansible-lint
via Molecule in themolecule
example in CI, it fails because Ansible is not installed. The latest versions of ansible-lint no longer strictly depend on Ansible, so it is not installed by default. Need to explicitly install it.The text was updated successfully, but these errors were encountered: