azavea / ansible-java

An Ansible role for installing Java.
Apache License 2.0
4 stars 15 forks source link

Fix Jinja template warnings #25

Closed tnation14 closed 6 years ago

tnation14 commented 6 years ago

Overview

TASK [Install python] **********************************************************
 [WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: {{ ubuntu_release.stdout |
version_compare('16.04', '>=') }}

skipping: [ansible-java]

TASK [Gather facts] ************************************************************
ok: [ansible-java]

TASK [ansible-java : Add OpenJDK PPA] ******************************************
 [WARNING]: when statements should not include jinja2 templating delimiters
such as {{ }} or {% %}. Found: {{ ansible_distribution_version |
version_compare('14.04', '=') and java_major_version | version_compare('8',
'>=') }}

Testing

hectcastro commented 6 years ago

Fixes https://github.com/azavea/ansible-java/issues/24