You've already forked ansible-role-checkmk-agent
Initial project
This commit is contained in:
BIN
filter_plugins/__pycache__/reslash.cpython-39.pyc
Normal file
BIN
filter_plugins/__pycache__/reslash.cpython-39.pyc
Normal file
Binary file not shown.
11
filter_plugins/reslash.py
Normal file
11
filter_plugins/reslash.py
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env python
|
||||
def filter_reslash(val):
|
||||
return val.replace('\\', '/')
|
||||
|
||||
class FilterModule(object):
|
||||
filter_map = {
|
||||
'reslash': filter_reslash
|
||||
}
|
||||
|
||||
def filters(self):
|
||||
return self.filter_map
|
||||
Reference in New Issue
Block a user