On Jul 05, Fabian Reiners wrote:
> This is a common occurence with Jinja version lower than 2.10.
Check which one
> you have and upgrade it to at least 2.10, that should fix the issue. Let me
> know if that helped.
I already checked. Installed versions:
ansible==2.8.0
Jinja2==2.10
python version = 2.7.15rc1 (default, Nov 12 2018, 14:31:15) [GCC 7.3.0]
Then it's probably due to issues with Jinja and import statements in loops,
ref:
https://github.com/pallets/jinja/issues/659. I fixed this in debops.nginx
by removing the import statement from the 'index.html' template:
https://github.com/debops/debops/pull/223. This would also have to be done
with debops.apache role. Any chance you could switch to debops.nginx for now?
It's used much more and therefore more up to date at the moment.
Cheers,
Maciej