@@ -170,7 +170,7 @@ repos:
170
170
171
171
# Ansible hooks
172
172
- repo : https://github.com/ansible/ansible-lint
173
- rev : v24.9.2
173
+ rev : v24.10.0
174
174
hooks :
175
175
- id : ansible-lint
176
176
additional_dependencies :
@@ -181,17 +181,36 @@ repos:
181
181
# necessary to add the ansible package itself as an
182
182
# additional dependency, with the same pinning as is done in
183
183
# requirements-test.txt of cisagov/skeleton-ansible-role.
184
- # - ansible>=9,<10
184
+ #
185
+ # Version 10 is required because the pip-audit pre-commit
186
+ # hook identifies a vulnerability in ansible-core 2.16.13,
187
+ # but all versions of ansible 9 have a dependency on
188
+ # ~=2.16.X.
189
+ #
190
+ # It is also a good idea to go ahead and upgrade to version
191
+ # 10 since version 9 is going EOL at the end of November:
192
+ # https://endoflife.date/ansible
193
+ # - ansible>=10,<11
185
194
# ansible-core 2.16.3 through 2.16.6 suffer from the bug
186
195
# discussed in ansible/ansible#82702, which breaks any
187
196
# symlinked files in vars, tasks, etc. for any Ansible role
188
197
# installed via ansible-galaxy. Hence we never want to
189
198
# install those versions.
190
199
#
200
+ # Note that the pip-audit pre-commit hook identifies a
201
+ # vulnerability in ansible-core 2.16.13. The pin of
202
+ # ansible-core to >=2.17 effectively also pins ansible to
203
+ # >=10.
204
+ #
205
+ # It is also a good idea to go ahead and upgrade to
206
+ # ansible-core 2.17 since security support for ansible-core
207
+ # 2.16 ends this month:
208
+ # https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
209
+ #
191
210
# Note that any changes made to this dependency must also be
192
211
# made in requirements.txt in cisagov/skeleton-packer and
193
212
# requirements-test.txt in cisagov/skeleton-ansible-role.
194
- - ansible-core>=2.16.7
213
+ - ansible-core>=2.17
195
214
196
215
# Terraform hooks
197
216
- repo : https://github.com/antonbabenko/pre-commit-terraform
0 commit comments