ajholanda.vscode
Ansible Role for VS Code
This is an Ansible role to help install and manage Visual Studio Code (VS Code). For Debian-like systems, VS Code is installed using Snap.
Requirements
No special requirements.
Role Variables
package_state: A default value that can be used as a global variable in different roles.vscode_linux_signing_key_url: The GPG key for Linux systems.vscode_yum_repository_url: The URL for the yum repository.vscode_apt_repository_url: The URL for the apt repository to add to the sources list.vscode_state: The state you want for VS Code after running the package manager.
Dependencies
No dependencies needed.
Example Playbook
To install VS Code, use the following playbook:
- hosts: all
roles:
- ajholanda.vscode
To uninstall VS Code, use this playbook:
- hosts: all
vars:
vscode_state: absent
roles:
- ajholanda.vscode
License
This role is licensed under the MIT license.
Author Information
Created by Adriano J. Holanda.
Informazioni sul progetto
Install or uninstall VS Code for Linux or Windows
Installa
ansible-galaxy install ajholanda.vscodeLicenza
mit
Download
266
Proprietario
