This role installs OpenVSCode Server, a webapplication that is a completely open source version of the server version of VSCode. It installs only the application, not a webserver/proxy or a system service to run it (you can do this using e.g. the jupyterhub standalone role, as the OpenVSCode Server component does).
By default, the latest archive from the OpenVSCode server GitHub releases is fetched.
The role:
- Downloads OpenVSCode Server from GitHub (by default the latest version is fetched, but see the
openvscodeserver_versionvariable below). - Places it in
openvscodeserver_dir(see below). - Sets the
openvscodeserver_cmd_pathfact to a path to the OpenVSCode Server executable. - Sets the
openvscodeserver_icon_pathfact to a path to the OpenVSCode Server logo.
openvscodeserver_dir: String. Location where openvscode should be installed. Default:/opt/openvscode-server.openvscodeserver_user: String. User which should own the openvsode installation dir and files. Default:root.openvscodeserver_group: String. Group which should own the openvsode installation dir and files. Default:root.openvscodeserver_version: String. Specific version which should be fetched. Should correspond to one of the version string from the OpenVSCode GitHub releases, e.g.v1.102.3. Default:""(which means the latest version will be fetched).openvscodeserver_arch: String. Architecture for which openvscode should be dowloaded. Should correspond to the architecture part of the download URLs in the GitHub releases, e.g.arm64. Defaults tox64, or the value of theansible_architecurefact if not on anx64machine.
- Role jupyterhub_standalone_proxy
- Playbook openvscodeserver
2025 Written by Dawa Ometto (Utrecht University)