using a filter like a function not supported in ansible