I've seen several system roles developers struggling with using filters, tests, and other Jinja2 features with Ansible, and also writing code that works on EL7 (primarily jinja 2.7 problems, but also ansible 2.8).
I've written a howto guide about this - https://linux-system-roles.github.io/documentation/howto/working-with-ansibl...
systemroles@lists.fedorahosted.org