mhalano.visual-studio-code
visual-studio-code
This role downloads and installs the latest version of Microsoft Visual Studio Code. I created this role to work with both DEB and RPM-based systems, but I have only tested it on Ubuntu. Please report any issues you find.
Requirements
No special requirements other than Ansible version 2.1. This version is needed because the package downloads are handled by the apt module, which was introduced in this release.
Role Variables
There are currently no variables. This may change in the future.
Dependencies
There are no dependencies.
Example Playbook
Here’s an example of how to use this role:
- hosts: localhost
roles:
- visual-studio-code
License
MIT
Author Information
My name is Marcos H. Alano. This is my first role published on Ansible Galaxy. I have created many roles and plan to publish them one by one. Most of them are related to desktop applications, and I may add server applications in the future, as I aim to automate the post-installation setup of my computer.
To Do
- Add support for macOS
- Test on RPM-based distributions
- Test on Debian
- Add support for GenericLinux (using a .zip file instead of a package)
Known Bugs
- Occasionally, the playbook fails due to issues with downloading the package. This is a problem on Microsoft's side related to shortened links.
Role for install Microsoft Visual Studio Code IDE
ansible-galaxy install mhalano.visual-studio-code