From d24532757c6ddc33370fe19732f8be14d14d449c Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 9 Oct 2015 16:52:45 -0400 Subject: [PATCH] remove fix for local_action/connection local that is now not needed --- lib/ansible/playbook/play_context.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/ansible/playbook/play_context.py b/lib/ansible/playbook/play_context.py index 48e93ce9e92..f6794a7faf4 100644 --- a/lib/ansible/playbook/play_context.py +++ b/lib/ansible/playbook/play_context.py @@ -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: