1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
from __future__ import annotations def do_nothing(myval): return myval class FilterModule(object): ''' Ansible core jinja2 filters ''' def filters(self): return { 'filter1': do_nothing, 'filter3': do_nothing, }