summaryrefslogtreecommitdiff
path: root/lib/ansible/plugins/connection/paramiko_ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/plugins/connection/paramiko_ssh.py')
-rw-r--r--lib/ansible/plugins/connection/paramiko_ssh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ansible/plugins/connection/paramiko_ssh.py b/lib/ansible/plugins/connection/paramiko_ssh.py
index dc98256ce0..2199bcf647 100644
--- a/lib/ansible/plugins/connection/paramiko_ssh.py
+++ b/lib/ansible/plugins/connection/paramiko_ssh.py
@@ -189,10 +189,10 @@ class Connection(ConnectionBase):
return ssh
- def exec_command(self, cmd, tmp_path, in_data=None, sudoable=True):
+ def exec_command(self, cmd, in_data=None, sudoable=True):
''' run a command on the remote host '''
- super(Connection, self).exec_command(cmd, tmp_path, in_data=in_data, sudoable=sudoable)
+ super(Connection, self).exec_command(cmd, in_data=in_data, sudoable=sudoable)
if in_data:
raise AnsibleError("Internal Error: this module does not support optimized module pipelining")