Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Problem: ansible-lint 5.0.0 fails on requirements.yml
Browse files Browse the repository at this point in the history
It looks like it is considering it to be a
playbook rather than a requirements.yml, and parsing it as such.

Solution: Do not check it under the molecule directories

fixes: #8234
  • Loading branch information
mikedep333 committed Feb 9, 2021
1 parent 101542b commit 0b75abc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .ansible-lint
Expand Up @@ -3,9 +3,20 @@
skip_list:
- '303'
exclude_paths:
- ./roles/ansible-role-postgresql/
- ./roles/geerlingguy.postgresql/
- ../../.ansible/roles/geerlingguy.postgresql/
- ../../.ansible/roles/lexa-uw.letsencrypt/
- ./.github/
- ./vagrant/
- ./.vagrant/
- ./molecule/default/requirements.yml
- ./molecule/packages-dynamic/requirements.yml
- ./molecule/packages-static/requirements.yml
- ./molecule/packages-upgrade/requirements.yml
- ./molecule/release-dynamic/requirements.yml
- ./molecule/release-static/requirements.yml
- ./molecule/release-upgrade/requirements.yml
- ./molecule/source-dynamic/requirements.yml
- ./molecule/source-static/requirements.yml
- ./molecule/source-upgrade/requirements.yml
1 change: 1 addition & 0 deletions CHANGES/8234.dev
@@ -0,0 +1 @@
Fix compatibility with ansible-lint 5.0.0 by having it not check requirements.yml under the molecule directories.

0 comments on commit 0b75abc

Please sign in to comment.