Skip to content

Commit

Permalink
Merge pull request #787 from ciecierski/ansible-lint-fix
Browse files Browse the repository at this point in the history
Fix pre-commit config and ansible-lint
  • Loading branch information
openshift-merge-bot[bot] authored Jan 16, 2025
2 parents a17744c + b0f380d commit 07583db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
profile: production
exclude_paths:
- .venv/
- .github/ # Not Ansible, just YAML
- mkdocs.yml
- docs/
- tests/config/
Expand All @@ -12,6 +14,7 @@ skip_list:
- name[casing] # do we want that one for consistency? maybe?
- no-changed-when # any point adding changed_when: false in all our shell?
- command-instead-of-shell
- jinja[spacing] # We don't really want to get that one. Too picky
strict: false
quiet: false
verbosity: 2
Expand Down
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ repos:
hooks:
- id: ansible-lint
entry: env ANSIBLE_ROLES_PATH=./tests/roles:$ANSIBLE_ROLES_PATH ANSIBLE_LIBRARY=./tests/plugins/modules:$ANSIBLE_LIBRARY ansible-lint
additional_dependencies:
- jmespath
- repo: https://github.com/openstack-dev/bashate.git
rev: 2.1.1
hooks:
Expand Down

0 comments on commit 07583db

Please sign in to comment.