racqspace.code_server
Ansible Role: code_server
This role installs and sets up code-server.
Key Features
- Use Visual Studio Code from any machine, accessed through a web browser
- Work on any device with a stable development setup
- Speed up tests, builds, downloads, and more by using cloud servers
- Save battery life on the go; all heavy tasks run on your server
For more details about code-server, visit: https://github.com/cdr/code-server
Role Variables
Variable Name | Default Value | Description |
---|---|---|
code_server_cache_valid_time | 3600 | Time for updating the apt module cache. |
code_server_user | "{{ lookup('env', 'USER') }}" | The user account that runs code-server. |
code_server_bind_addr | 127.0.0.1:8080 | The address that code-server binds to. |
code_server_password | plaintextPassword | AN UNSECURE WAY to set the password. |
code_server_hashed_password | A PREFERRED WAY to set the password. Learn how to use it at https://coder.com/docs/code-server/v3.12.0/FAQ#can-i-store-my-password-hashed |
Role Usage Examples
To install code-server with "myPassword" as a plaintext password:
- hosts: all
roles:
- role: racqspace.code_server
vars:
code_server_password: myPassword
License
MIT
Author Information
This role was created in 2021 by Clemens Kaserer.
Contributors:
Informazioni sul progetto
Configure code-server.
Installa
ansible-galaxy install racqspace.code_server
Licenza
mit
Download
465
Proprietario