mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 12:51:25 -07:00
removes unused code in eos action plugin (#22986)
This commit is contained in:
parent
ac74520b6f
commit
ab4b8cb104
1 changed files with 0 additions and 4 deletions
|
@ -115,10 +115,6 @@ class ActionModule(_ActionModule):
|
||||||
|
|
||||||
self._task.args['provider'] = provider
|
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)
|
return super(ActionModule, self).run(tmp, task_vars)
|
||||||
|
|
||||||
def _get_socket_path(self, play_context):
|
def _get_socket_path(self, play_context):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue