This is an Ansible role to install and configure vscode.
Include more information about vscode in this section.
These platforms are supported:
- Ubuntu 20.04
- Ubuntu 22.04
- Debian 11
- Debian 12
- EL 8 (Tested on Rocky Linux 8)
- EL 9 (Tested on Rocky Linux 9)
- Fedora 40
- openSUSE Leap 15.5
Variable | Default | Description |
---|---|---|
vscode_channel |
stable |
Channel to install vscode from. Options: ["stable", "insiders"] |
vscode_user |
{{ ansible_user_id }} |
User to set up VSCode extensions and settings for |
vscode_extensions |
[] |
List of VSCode extensions to install. See defaults/main.yml for examples. |
vscode_overwrite_settings |
false |
Whether to overwrite existing VSCode settings |
vscode_settings |
{} |
Dictionary of VSCode settings to set. See defaults/main.yml for examples. |
None
- name: Use diademiemi.vscode role
hosts: "{{ target | default('vscode') }}"
roles:
- role: "diademiemi.vscode"
tags: ['diademiemi', 'vscode', 'setup'] ```
MIT
- diademiemi (@diademiemi)
This repository comes with Molecule that run in Podman on the supported platforms. Install Molecule by running
pip3 install -r requirements.txt
Run the tests with
molecule test
These tests are automatically ran by GitHub Actions on push. If the tests are successful, the role is automatically published to Ansible Galaxy.