mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-06-23 13:57:58 +03:00
fix: Jinja version test warning (#13322)
The jinja version test conditional uses jinja in the condition, which is deprecated. I have removed the assertion since ansible 2.18 has a dependency on jinja2>=3.0.0.
This commit is contained in:
@@ -24,10 +24,3 @@
|
||||
that: "'127.0.0.1' | ansible.utils.ipaddr == '127.0.0.1'"
|
||||
tags:
|
||||
- check
|
||||
|
||||
- name: "Check that jinja is not too old (install via pip)"
|
||||
assert:
|
||||
msg: "Your Jinja version is too old, install via pip"
|
||||
that: "{% set test %}It works{% endset %}{{ test == 'It works' }}"
|
||||
tags:
|
||||
- check
|
||||
|
||||
Reference in New Issue
Block a user