Skip to content

Instantly share code, notes, and snippets.

@juzam
Last active November 21, 2016 17:00
Show Gist options
  • Select an option

  • Save juzam/b20aeb2d42bfb3186c88aac959194cd9 to your computer and use it in GitHub Desktop.

Select an option

Save juzam/b20aeb2d42bfb3186c88aac959194cd9 to your computer and use it in GitHub Desktop.
Visual Studio code for Linux (apt) Ansible install tasks, suitable to be put in a role.
- name: Install bintray GPG key
apt_key: keyserver=keyserver.ubuntu.com id=379CE192D401AB61 state=present
- name: Install headmelted GPG key
apt_key: url="https://bintray.com/user/downloadSubjectPublicKey?username=headmelted"
- name: Install headmelted repository
apt_repository: repo="deb https://dl.bintray.com/headmelted/deb-code-oss wheezy main" state=present
- name: Install Visual Studio Code
apt: name={{ item }} state=installed update-cache=yes
with_items:
- git
- code-oss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment