Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 2.2 KB

File metadata and controls

35 lines (23 loc) · 2.2 KB

Role openvscodeserver

back to index

Summary

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.

Description

The role:

  • Downloads OpenVSCode Server from GitHub (by default the latest version is fetched, but see the openvscodeserver_version variable below).
  • Places it in openvscodeserver_dir (see below).
  • Sets the openvscodeserver_cmd_path fact to a path to the OpenVSCode Server executable.
  • Sets the openvscodeserver_icon_path fact to a path to the OpenVSCode Server logo.

Variables

  • 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 to x64, or the value of the ansible_architecure fact if not on an x64 machine.

See also

History

2025 Written by Dawa Ometto (Utrecht University)

back to index