Skip to content

Commit

Permalink
Pin ansible-core when running the ansible-lint linter
Browse files Browse the repository at this point in the history
See skeleton-ansible-role#178 for more details.

Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
  • Loading branch information
jsf9k and mcdonnnj committed May 5, 2024
1 parent e79569c commit 0d09cd1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,20 @@ repos:
rev: v24.2.0
hooks:
- id: ansible-lint
additional_dependencies:
# TODO: Remove this pin when that becomes possible. See
# cisagov/skeleton-ansible-role#178 for more details.
#
# Since we pin ansible-core in
# cisagov/skeleton-ansible-role, we should pin it here too
# to ensure that ansible-lint is applied consistently across
# all our repos. See cisagov/skeleton-ansible-role#178 for
# more information as to why this pinning is necessary.
#
# Note that any changes made to this dependency must also be
# made in requirements.txt in cisagov/skeleton-packer and
# requirements-test.txt in cisagov/skeleton-ansible-role.
- ansible-core<2.16.3
# files: molecule/default/playbook.yml

# Terraform hooks
Expand Down

0 comments on commit 0d09cd1

Please sign in to comment.