def METHOD_NAME(self, cmd, in_data=None, sudoable=True):
    """
    Run a command on the remote host.
    """
    try:
        super(Connection, self).METHOD_NAME(cmd, in_data=in_data, sudoable=sudoable)
        output = self.client.METHOD_NAME(cmd)
        return output.rc, output.stdout, output.stderr
    except Exception as e:
        raise AnsibleError(
            "Failed to execute command %s" % e
        )