I\'m using jinja 2 to output a yaml file but can\'t seem to get rid of a trailing newline and the end of a for loop. Eg the below
- request: path: {{ p
I think you can get rid of it using the whitespace control feature. Thus I would modify the endfor block to {% endfor -%}
endfor
{% endfor -%}
See if that does it!