removes unused code in eos action plugin (#22986)

(cherry picked from commit ab4b8cb104)
This commit is contained in:
Peter Sprygada 2017-03-27 00:50:55 -04:00 committed by Peter Sprygada
parent 63812b0a2c
commit 01abc097ee

View file

@ -114,10 +114,6 @@ class ActionModule(_ActionModule):
self._task.args['provider'] = provider
if self._play_context.become_method == 'enable':
self._play_context.become = False
self._play_context.become_method = None
return super(ActionModule, self).run(tmp, task_vars)
def _get_socket_path(self, play_context):