10 lines
258 B
Python
10 lines
258 B
Python
|
from functools import partial
|
||
|
from ansible.utils.unicode import unicode_wrap
|
||
|
|
||
|
class FilterModule(object):
|
||
|
''' Ansible file jinja2 filters '''
|
||
|
def filters(self):
|
||
|
return {
|
||
|
'abspath': partial(unicode_wrap, os.path.abspath)
|
||
|
}
|