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
d76c8c9c
Commit
d76c8c9c
authored
Jul 21, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Various cleanup around runner's constructor and how daisy chaining is invoked.
parent
1682dd06
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
lib/ansible/runner/__init__.py
+0
-0
lib/ansible/utils.py
+6
-0
No files found.
lib/ansible/runner/__init__.py
View file @
d76c8c9c
This diff is collapsed.
Click to expand it.
lib/ansible/utils.py
View file @
d76c8c9c
...
...
@@ -258,6 +258,12 @@ def md5(filename):
infile
.
close
()
return
digest
.
hexdigest
()
def
default
(
value
,
function
):
''' syntactic sugar around lazy evaluation of defaults '''
if
value
is
None
:
return
function
()
return
value
####################################################################
# option handling code for /usr/bin/ansible and ansible-playbook
# below this line
...
...
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