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
2773234c
Commit
2773234c
authored
Feb 29, 2012
by
Christopher Johnston
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python 2.5 does not include json so lets try to use simplejson
parent
ab266472
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
bin/ansible
+5
-1
lib/ansible/runner.py
+5
-1
No files found.
bin/ansible
View file @
2773234c
...
...
@@ -17,9 +17,13 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
try
:
import
json
except
ImportError
:
import
simplejson
as
json
from
optparse
import
OptionParser
import
sys
import
json
import
os
import
getpass
import
shlex
...
...
lib/ansible/runner.py
View file @
2773234c
...
...
@@ -16,11 +16,15 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#
try
:
import
json
except
ImportError
:
import
simplejson
as
json
import
fnmatch
import
multiprocessing
import
signal
import
os
import
json
import
traceback
import
paramiko
# non-core dependency
import
ansible.constants
as
C
...
...
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