Created
June 22, 2015 18:07
-
-
Save daviddyball/3ddb7562630fd4d4bcf0 to your computer and use it in GitHub Desktop.
Usefull filters for ansible
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def split_string(*a, *kwargs): | |
return split(a[1],a[0]) | |
class FilterModule(object): | |
def filters(self): | |
return { | |
'split_string': split_string | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment