Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
7f8126a6
Commit
7f8126a6
authored
Sep 23, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4168 from nigelm/md5_filter
Added md5 as a jinja filter - returns hex digest of input
parents
cb200b07
f0cc2d6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lib/ansible/runner/filter_plugins/core.py
+4
-0
No files found.
lib/ansible/runner/filter_plugins/core.py
View file @
7f8126a6
...
@@ -22,6 +22,7 @@ import yaml
...
@@ -22,6 +22,7 @@ import yaml
import
types
import
types
import
pipes
import
pipes
from
ansible
import
errors
from
ansible
import
errors
from
ansible.utils
import
md5s
def
to_nice_yaml
(
*
a
,
**
kw
):
def
to_nice_yaml
(
*
a
,
**
kw
):
'''Make verbose, human readable yaml'''
'''Make verbose, human readable yaml'''
...
@@ -111,5 +112,8 @@ class FilterModule(object):
...
@@ -111,5 +112,8 @@ class FilterModule(object):
# quote string for shell usage
# quote string for shell usage
'quote'
:
quote
,
'quote'
:
quote
,
# md5 hex digest of string
'md5'
:
md5s
,
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment