@@ -172,11 +172,6 @@ repos:
172172 hooks :
173173 - id : pip-audit
174174 args :
175- # We have to ignore this particular vulnerability in
176- # ansible-core>=2.11 as there is currently no fix. See
177- # cisagov/skeleton-ansible-role#210 for more details.
178- - --ignore-vuln
179- - GHSA-99w6-3xph-cx78
180175 # We have to ignore this vulnerability since we need to pin
181176 # to Ansible 10 for now to support our CyHy code that must
182177 # still run on Debian Buster. This vulnerability is fixed
@@ -201,10 +196,16 @@ repos:
201196 rev : v3.21.1
202197 hooks :
203198 - id : pyupgrade
199+ args :
200+ # Python 3.10 is currently the oldest non-EOL version of
201+ # Python, so we want to apply all rules that apply to this
202+ # version or later. See here for more details:
203+ # https://www.gyford.com/phil/writing/2025/08/26/how-to-use-pyupgrade/
204+ - --py310-plus
204205
205206 # Ansible hooks
206207 - repo : https://github.com/ansible/ansible-lint
207- rev : v25.11.0
208+ rev : v25.11.1
208209 hooks :
209210 - id : ansible-lint
210211 additional_dependencies :
@@ -220,31 +221,13 @@ repos:
220221 # hook identifies a vulnerability in ansible-core 2.16.13,
221222 # but all versions of ansible 9 have a dependency on
222223 # ~=2.16.X.
223- #
224- # It is also a good idea to go ahead and upgrade to version
225- # 10 since version 9 is going EOL at the end of November:
226- # https://endoflife.date/ansible
227224 # - ansible>=10,<11
228- # ansible-core 2.16.3 through 2.16.6 suffer from the bug
229- # discussed in ansible/ansible#82702, which breaks any
230- # symlinked files in vars, tasks, etc. for any Ansible role
231- # installed via ansible-galaxy. Hence we never want to
232- # install those versions.
233- #
234- # Note that the pip-audit pre-commit hook identifies a
235- # vulnerability in ansible-core 2.16.13. The pin of
236- # ansible-core to >=2.17 effectively also pins ansible to
237- # >=10.
238- #
239- # It is also a good idea to go ahead and upgrade to
240- # ansible-core 2.17 since security support for ansible-core
241- # 2.16 ends this month:
242- # https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix
225+ # ansible-core<2.17.7 suffers from GHSA-99w6-3xph-cx78.
243226 #
244227 # Note that any changes made to this dependency must also be
245228 # made in requirements.txt in cisagov/skeleton-packer and
246229 # requirements-test.txt in cisagov/skeleton-ansible-role.
247- - ansible-core>=2.17
230+ - ansible-core>=2.17.7
248231
249232 # Terraform hooks
250233 - repo : https://github.com/antonbabenko/pre-commit-terraform
0 commit comments