Merge "Revert "Add jinja2-py version check in pre_checks""
This commit is contained in:
commit
841bc75ae2
@ -10,10 +10,3 @@
|
|||||||
local_action: fail msg="Current Ansible version {{ ansible_version.full }} is less than {{ ansible_version_min }}"
|
local_action: fail msg="Current Ansible version {{ ansible_version.full }} is less than {{ ansible_version_min }}"
|
||||||
run_once: true
|
run_once: true
|
||||||
when: ansible_version.full | version_compare(ansible_version_min, '<')
|
when: ansible_version.full | version_compare(ansible_version_min, '<')
|
||||||
|
|
||||||
- name: Checking jinja2-py version
|
|
||||||
command: "{{ ansible_python.executable }} -c \"import jinja2; print jinja2.__version__\""
|
|
||||||
register: result
|
|
||||||
changed_when: false
|
|
||||||
failed_when: result | failed or
|
|
||||||
result.stdout | version_compare(jinja2_py_version_min, '<', strict=True)
|
|
||||||
|
@ -2,4 +2,3 @@
|
|||||||
docker_version_min: '1.10.0'
|
docker_version_min: '1.10.0'
|
||||||
docker_py_version_min: '1.6.0'
|
docker_py_version_min: '1.6.0'
|
||||||
ansible_version_min: '2.0.0'
|
ansible_version_min: '2.0.0'
|
||||||
jinja2_py_version_min: '2.8.0'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user