redhat-openstack / infrared

Plugin based framework that aims to provide an easy-to-use CLI for Ansible based projects
https://infrared.readthedocs.io/en/latest/index.html
Apache License 2.0
100 stars 96 forks source link

jinja template delimiters warning #302

Closed yazug closed 6 years ago

yazug commented 7 years ago

Saw while running infrared virthos --topology 'undercloud:0'

This should be cleaned up to avoid future problems

TASK [verify swap is within disk1 size] ** [[ previous task time: 0:00:00.032701 = 0.03s / 107.16s ]] [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ (topology_node.disks.disk1.size|filesize('M')|int - topology_node.swap|default(0)|int) < (disk1_min|filesize('M')|int) }}

obaranov commented 6 years ago

Fixed by https://review.gerrithub.io/#/c/390190/