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
d2453275
Commit
d2453275
authored
Oct 09, 2015
by
Brian Coca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove fix for local_action/connection local that is now not needed
parent
17c75df0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
lib/ansible/playbook/play_context.py
+0
-5
No files found.
lib/ansible/playbook/play_context.py
View file @
d2453275
...
...
@@ -362,11 +362,6 @@ class PlayContext(Base):
setattr
(
new_info
,
'connection'
,
'local'
)
elif
getattr
(
new_info
,
'connection'
,
None
)
==
'local'
and
new_info
.
remote_addr
not
in
C
.
LOCALHOST
:
setattr
(
new_info
,
'connection'
,
C
.
DEFAULT_TRANSPORT
)
elif
task
.
_local_action
:
# otherwise, in the special instance that the task was specified
# as a local action, override the connection in case it was changed
# during some other step in the process
setattr
(
new_info
,
'connection'
,
'local'
)
# set no_log to default if it was not previouslly set
if
new_info
.
no_log
is
None
:
...
...
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