fix/ansible-core 2.19: etcd: avoid mutating methods in template (#13474)

2.19 disallow methods with side effects in Jinja. Use a simple loop by
adding all the SANs source in one list.

Also check the sources before hand for failing on CIDR notation.

Link: https://github.com/ansible/ansible/issues/85202
This commit is contained in:
Max Gautier
2026-09-08 09:12:32 +00:00
committed by GitHub
parent 4b7dfaef87
commit c554ee816d
3 changed files with 20 additions and 25 deletions
+1
View File
@@ -1,3 +1,4 @@
---
dependencies:
- role: kubespray_defaults
- role: etcd_defaults