All Projects β†’ gantsign β†’ Ansible Role Visual Studio Code

gantsign / Ansible Role Visual Studio Code

Licence: mit
Ansible role for installing the Visual Studio Code IDE

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Ansible Role Visual Studio Code

Theme Bear
🐻 A VSCode dark theme 🐻
Stars: ✭ 27 (-53.45%)
Mutual labels:  vscode, visual-studio-code
Ansible Role Android Sdk
Install Android SDK tools and packages, headless, with ansible.
Stars: ✭ 34 (-41.38%)
Mutual labels:  ansible, ansible-role
Nagios Nrpe Server
Nagios NRPE Server Role for Ansible
Stars: ✭ 27 (-53.45%)
Mutual labels:  ansible, ansible-role
Ansible Style Guide
A style guide for Ansible use in EGI
Stars: ✭ 14 (-75.86%)
Mutual labels:  ansible, ansible-role
Vscode Stylefmt
πŸ”Œ VS Code plugin for stylefmtβ€” Format your CSS using stylefmt.
Stars: ✭ 42 (-27.59%)
Mutual labels:  vscode, visual-studio-code
Without Guns For Vs Code
Visual Studio Code extension that teaches you mindful programming
Stars: ✭ 14 (-75.86%)
Mutual labels:  vscode, visual-studio-code
Vscode Smoothtype
VS Code extension to add cursor transitions while typing, similar to MS Office and the Windows 10 Mail app.
Stars: ✭ 54 (-6.9%)
Mutual labels:  vscode, visual-studio-code
Ansible Role Sonarqube
Ansible Role: SonarQube
Stars: ✭ 22 (-62.07%)
Mutual labels:  ansible, ansible-role
Ansible Kvm
Stars: ✭ 40 (-31.03%)
Mutual labels:  ansible, ansible-role
Vscode Simple Vim
Vim extension for VSCode
Stars: ✭ 38 (-34.48%)
Mutual labels:  vscode, visual-studio-code
Vscode Intelephense
PHP intellisense for Visual Studio Code
Stars: ✭ 872 (+1403.45%)
Mutual labels:  vscode, visual-studio-code
Vscode Hack
Hack language & HHVM debugger support for Visual Studio Code
Stars: ✭ 45 (-22.41%)
Mutual labels:  vscode, visual-studio-code
Ansible Role Conjur
Grants Conjur machine identity to hosts
Stars: ✭ 12 (-79.31%)
Mutual labels:  ansible, ansible-role
Ansible Jupyterhub
Ansible role to setup jupyterhub server (deprecated)
Stars: ✭ 14 (-75.86%)
Mutual labels:  ansible, ansible-role
Ansible Transmission
πŸ•Ή A TransmissionBT installation role for Ansible
Stars: ✭ 8 (-86.21%)
Mutual labels:  ansible, ansible-role
Ansible Restic
Deploy restic backup program
Stars: ✭ 29 (-50%)
Mutual labels:  ansible, ansible-role
Openvpn
Stars: ✭ 5 (-91.38%)
Mutual labels:  ansible, ansible-role
Wslgit
Use Git installed in Bash on Windows/Windows Subsystem for Linux (WSL) from Windows and Visual Studio Code (VSCode)
Stars: ✭ 903 (+1456.9%)
Mutual labels:  vscode, visual-studio-code
Ansible Phoenix
[Unmaintained] Develop and deploy a Phoenix app using Ansible!
Stars: ✭ 37 (-36.21%)
Mutual labels:  ansible, ansible-role
Vscode Project Manager
Project Manager Extension for Visual Studio Code
Stars: ✭ 1,022 (+1662.07%)
Mutual labels:  vscode, visual-studio-code

Ansible Role: Visual Studio Code

Build Status Ansible Galaxy License

Role to install the Visual Studio Code IDE / text editor.

Requirements

  • Ansible >= 2.8

  • Linux Distribution

    • Debian Family

      • Ubuntu

        • Xenial (16.04)
        • Bionic (18.04)
    • RedHat Family

      • CentOS

        • 7
      • Fedora

        • 31
    • SUSE Family

      • openSUSE

        • 15.1
    • Note: other versions are likely to work but have not been tested.

Role Variables

The following variables will change the behavior of this role (default values are shown below):

# Visual Studio Code version number (defaults to the latest version)
visual_studio_code_version: ''

# Build (either 'stable' or 'insiders') https://code.visualstudio.com/insiders/
# Ubuntu only (code-insiders isn't in Microsoft's RPM repo)
visual_studio_code_build: stable

# Mirror server for fetching the public keys and the Visual Studio Code
# installation package. The URL may include directories. The URL must not end
# with a trailing slash.
visual_studio_code_mirror: 'https://packages.microsoft.com'

# Users to install extensions for and/or write settings.json
users: []

Users are configured as follows:

users:
  - username: # Unix user name
    visual_studio_code_extensions:
      - # extension 1
      - # extension 2
    visual_studio_code_settings_overwrite: # Overwrite the settings file if it exists. Options: boolean "yes" or "no" (defaults to "no").
    visual_studio_code_settings: # JSON object

Example Playbooks

Minimal playbook:

- hosts: servers
  roles:
    - role: gantsign.visual-studio-code

Playbook with extensions installed that overwrites settings:

- hosts: servers
  roles:
    - role: gantsign.visual-studio-code
      users:
        - username: vagrant
          visual_studio_code_extensions:
            - streetsidesoftware.code-spell-checker
            - wholroyd.jinja
            - ms-python.python
          visual_studio_code_settings_overwrite: yes
          visual_studio_code_settings: {
            "editor.rulers": [80, 100, 120],
            "editor.renderWhitespace": true,
            "files.associations": {
              "Vagrantfile": "ruby"
            }
          }

More Roles From GantSign

You can find more roles from GantSign on Ansible Galaxy.

Development & Testing

This project uses Molecule to aid in the development and testing; the role is unit tested using Testinfra and pytest.

To develop or test you'll need to have installed the following:

Because the above can be tricky to install, this project includes Molecule Wrapper. Molecule Wrapper is a shell script that installs Molecule and it's dependencies (apart from Linux) and then executes Molecule with the command you pass it.

To test this role using Molecule Wrapper run the following command from the project root:

./moleculew test

Note: some of the dependencies need sudo permission to install.

License

MIT

Author Information

John Freeman

GantSign Ltd. Company No. 06109112 (registered in England)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].