-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvscodelatest.yml
More file actions
38 lines (30 loc) · 1.36 KB
/
Copy pathvscodelatest.yml
File metadata and controls
38 lines (30 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
- hosts: local
become: true
become_user: siva
tasks:
# - name: Check if my_package is installed
# command: dpkg-query -W my_package
# register: my_package_check_deb
# failed_when: my_package_check_deb.rc > 1
# changed_when: my_package_check_deb.rc == 1
- name: VSINSIDERS | Download Visual Visual Studio Early Insiders release Setup
get_url:
url: 'https://go.microsoft.com/fwlink/?LinkID=760865'
dest: '/tmp/code-insider.deb'
tags: [download, visualstudio]
# Need to test below deb installation on ubuntu - it failed because it needs superuser priviledges dpkg: error: requested operation requires superuser privilege\n
# - name: Install Visual Studio Early Insiders release
# - apt: deb="/tmp/code-insider.deb"
# - become: true
- name: Install Visual Studio Early Insiders release
shell: "sudo -i dpkg --force-confdef --force-confold -i /tmp/code-insider.deb"
# - name: VS2015 | Install Visual Studio Community 2015
# raw: 'C:\TEMP\vs_community.exe /Silent /NoRestart
# /InstallSelectableItems NativeLanguageSupport_Group
# /Log C:\TEMP\vs2015_install_log.txt'
# tags: [install, visualstudio]
# - name: Reboot machine after Visual Studio installation
# win_reboot:
# - import_tasks: ./common-ansible-playbook.yaml
# tags: common