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
1702c2fd
Commit
1702c2fd
authored
Jun 23, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-1' of
https://github.com/Mbosco/ansible
into Mbosco-patch-1
parents
9564818e
39fcbd1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
lib/ansible/runner/connection_plugins/ssh.py
+9
-3
No files found.
lib/ansible/runner/connection_plugins/ssh.py
View file @
1702c2fd
...
...
@@ -220,9 +220,15 @@ class Connection(object):
if
not
os
.
path
.
exists
(
hf
):
hfiles_not_found
+=
1
continue
host_fh
=
open
(
hf
)
data
=
host_fh
.
read
()
host_fh
.
close
()
try
:
host_fh
=
open
(
hf
)
except
IOError
,
e
:
hfiles_not_found
+=
1
continue
else
:
data
=
host_fh
.
read
()
host_fh
.
close
()
for
line
in
data
.
split
(
"
\n
"
):
if
line
is
None
or
" "
not
in
line
:
continue
...
...
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