ansible_filters/my_format_filters2.py
def file_to_ansible(self, cfg):
        """ return a dictionary that mocks same haiviour as ansible register """
        d = {}
        d.setdefault("stdout", [cfg])
        d.setdefault("stdout_lines", [cfg.splitlines()])
        return d
 return a dictionary that mocks same haiviour as ansible register 
return a dictionary that mocks same haiviour as ansible register
return a dictionary that mocks same haiviour as ansible register
def file_to_ansible(self, cfg):
        d = {}
        d.setdefault("stdout", [cfg])
        d.setdefault("stdout_lines", [cfg.splitlines()])
        return d
def file_to_ansible ( self , cfg ) : d = { } d . setdefault ( "stdout" , [ cfg ] ) d . setdefault ( "stdout_lines" , [ cfg . splitlines ( ) ] ) return d
return a dictionary that mocks same haiviour as ansible register
return a dictionary that mocks same haiviour as ansible register
""" return a dictionary that mocks same haiviour as ansible register """
self
cfg