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
aaecf705
Commit
aaecf705
authored
Apr 13, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #143 from jhoekx/fix-ansible-async
/bin/ansible async fixes
parents
b4752945
d3668853
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
bin/ansible
+2
-0
lib/ansible/runner.py
+1
-1
No files found.
bin/ansible
View file @
aaecf705
...
...
@@ -147,6 +147,8 @@ class Cli(object):
clock
=
clock
-
options
.
poll_interval
time
.
sleep
(
options
.
poll_interval
)
poll_hosts
=
self
.
hosts_to_poll
(
poll_results
)
if
len
(
poll_hosts
)
==
0
:
break
########################################################
...
...
lib/ansible/runner.py
View file @
aaecf705
...
...
@@ -119,7 +119,7 @@ class Runner(object):
euid
=
pwd
.
getpwuid
(
os
.
geteuid
())[
0
]
if
self
.
transport
==
'local'
and
self
.
remote_user
!=
euid
:
raise
Exception
(
"User mismatch: expected
%
s, but is
%
s"
%
(
self
.
remote_user
,
euid
))
if
type
(
self
.
module_args
)
!=
str
and
type
(
self
.
module_args
)
!=
dict
:
if
type
(
self
.
module_args
)
not
in
[
str
,
unicode
,
dict
]
:
raise
Exception
(
"module_args must be a string or dict:
%
s"
%
self
.
module_args
)
self
.
_tmp_paths
=
{}
...
...
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