ansible2 -- filter_plugins

I wanted to start looking at ansible 2 now that its in beta – most things are working for me out of the box – but I have a very simple custom filter that I need to use which isn’t being discovered:

sts-infrastructure (master)> cat filter_plugins/wrap.py

def wrap(list):

return [ ‘"’ + x + ‘"’ for x in list]

class FilterModule(object):

def filters(self):

return {

‘wrap’: wrap

}

I know a ansible2 migration guide is in the works – I’m assuming this will be a really quick fix though … Does anybody know how to define a custom filter in ansible2? Or have a link to a WIP of the migration guide?

Thanks,
Ben

afaik filters have not changed and should 'just work'