Molecule: `molecule lint` does not match what `ansible-lint .` does

Created on 4 Feb 2019  路  8Comments  路  Source: ansible-community/molecule

Issue Type

  • Bug report

Molecule and Ansible details

HEAD and latest release AFAIK.

Molecule installation method (one of):

  • pip

Ansible installation method (one of):

  • pip

Desired Behavior

molecule lint and ansible-lint . behave identically.

Actual Behaviour

See https://github.com/ansible/molecule/pull/1675#issuecomment-459451002 and https://github.com/ansible/molecule/pull/1675#issuecomment-460098613.

blocked bug

All 8 comments

Potentially related was https://github.com/ansible/molecule/pull/1722. Basically, the configuration options were not working correctly from the molecule.yml (not sure on details) and an .ansible-lint had to be introduced to configure ansible-lint correctly.

Potential blocker for 2.20 release, as having linting break would be a pretty big deal I think.

Agreed.

Thanks for that fix @pilou-!

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) ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ssbarnea picture ssbarnea  路  4Comments

asg1612 picture asg1612  路  4Comments

Lirt picture Lirt  路  3Comments

surfer190 picture surfer190  路  3Comments

decentral1se picture decentral1se  路  3Comments