From 1e09e21ba1ea804829df21f1fec6b08352b9f8e3 Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Tue, 8 Jan 2019 08:43:15 +0530 Subject: [PATCH] Fix issue in junos and bigip action plugins (#50636) * tmp is not required to be passed to in run() within action plugin --- lib/ansible/plugins/action/bigip.py | 2 +- lib/ansible/plugins/action/junos.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/plugins/action/bigip.py b/lib/ansible/plugins/action/bigip.py index c511ccad6ec..ad502f3d385 100644 --- a/lib/ansible/plugins/action/bigip.py +++ b/lib/ansible/plugins/action/bigip.py @@ -94,5 +94,5 @@ class ActionModule(ActionNetworkModule): conn.send_command('exit') out = conn.get_prompt() - result = super(ActionModule, self).run(tmp, task_vars) + result = super(ActionModule, self).run(task_vars=task_vars) return result diff --git a/lib/ansible/plugins/action/junos.py b/lib/ansible/plugins/action/junos.py index 90924f721f8..c49e4f56ea0 100644 --- a/lib/ansible/plugins/action/junos.py +++ b/lib/ansible/plugins/action/junos.py @@ -112,5 +112,5 @@ class ActionModule(ActionNetworkModule): conn.send_command('exit') out = conn.get_prompt() - result = super(ActionModule, self).run(None, task_vars) + result = super(ActionModule, self).run(task_vars=task_vars) return result