Skip to content

Commit

Permalink
Attempt to fix broken Lint in CI x2.
Browse files Browse the repository at this point in the history
geerlingguy committed Feb 10, 2021
1 parent 37657b2 commit 3a164a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ jobs:
python-version: '3.x'

- name: Install test dependencies.
run: pip3 install yamllint ansible-base ansible-lint
run: pip3 install yamllint ansible ansible-lint

- name: Lint code.
run: |

2 comments on commit 3a164a5

@hybridadmin
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The linting issue you are experiencing looks to be an result of the latest ansible-linit version that was introduced on the 9th, linting started failing after that date for me coincidentally
https://pypi.org/project/ansible-lint/ version 5.0.0

I managed to get around the issue by using the previous version "ansible-lint==4.3.7" .

I believe something changed in the latest version and is causing workflows to break, just not sure what exactly

@geerlingguy
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, right now I'm pausing work trying to get lints fixed in my roles until I can see what the outcome of ansible/ansible-lint#1150 will be. If a 5.0.1 will fix this with no intervention (besides making sure ansible-base is installed), I'd like to go that route.

Please sign in to comment.