protected function switchPreviousTask($worker, AbstractAuth $auth, $remote)
    {
        return $this->taskSsh($worker, $auth)
            ->remoteDirectory($this->getCurrentProjectRoot($worker, $auth, $remote), true)
            ->exec(
                'vendor/bin/robo digipolis:switch-previous '
                . $remote['releasesdir']
                . ' ' . $remote['currentdir']
            );
    }