-
Notifications
You must be signed in to change notification settings - Fork 657
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
molecule lint
does not match what ansible-lint .
does
#1723
Comments
Potentially related was #1722. Basically, the configuration options were not working correctly from the |
Potential blocker for 2.20 release, as having linting break would be a pretty big deal I think. |
Agreed. |
Fix behavior when ANSIBLE_ROLES_PATH is defined, for example: cd test/roles/test-role ANSIBLE_ROLES_PATH=.. ansible-lint molecule/default/include-import-role.yml Fix ansible/molecule#1723 Signed-off-by: Pierre-Louis Bonicoli <pierre-louis.bonicoli@libregerbil.fr>
Thanks for that fix @pilou-! |
* Test: use testproject/roles instead of roles/roles 'roles' doesn't seem an adequate toplevel name when testing three directories depth. Signed-off-by: Pierre-Louis Bonicoli <pierre-louis.bonicoli@libregerbil.fr> * Test: use ansible-lint the way molecule does Signed-off-by: Pierre-Louis Bonicoli <pierre-louis.bonicoli@libregerbil.fr> * Check DEFAULT_ROLES_PATH before basedir Fix behavior when ANSIBLE_ROLES_PATH is defined, for example: cd test/roles/test-role ANSIBLE_ROLES_PATH=.. ansible-lint molecule/default/include-import-role.yml Fix ansible/molecule#1723 Signed-off-by: Pierre-Louis Bonicoli <pierre-louis.bonicoli@libregerbil.fr>
OK, the fix is merged, awaiting a release which is being tracked at https://github.com/ansible/ansible-lint/milestone/15. |
Looks like ansible-lint 4.1.0 was released. I ran the commands from my original comment and looks good. |
@Rickkwa Thank you for confirming. |
@gundalow should not we exclude ansible-lint 4.0.0 and 4.0.1 (from allowed dependencies) ? |
Because of ansible#1723. Signed-off-by: Luke Murphy <lukewm@riseup.net>
Because of #1723. Signed-off-by: Luke Murphy <lukewm@riseup.net>
Issue Type
Molecule and Ansible details
HEAD and latest release AFAIK.
Molecule installation method (one of):
Ansible installation method (one of):
Desired Behavior
molecule lint
andansible-lint .
behave identically.Actual Behaviour
See #1675 (comment) and #1675 (comment).
The text was updated successfully, but these errors were encountered: