blob: 1bc2e17c4b49626baf4976e1a920fb40b2c287f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Make coding more python3-ish
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
from ansible.utils.display import Display
display = Display()
def donothing(a):
return a
class FilterModule(object):
''' Ansible core jinja2 filters '''
def filters(self):
return {
'donothing': donothing,
'nodocs': donothing,
'split': donothing,
'b64decode': donothing,
}
|