Skip to content

Commit c365596

Browse files
committed
added dep force installation using super-user privileges
1 parent 5b0b0fa commit c365596

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

vscodelatest.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@
1616
dest: '/tmp/code-insider.deb'
1717
tags: [download, visualstudio]
1818

19+
# Need to test below deb installation on ubuntu - it failed because it needs superuser priviledges dpkg: error: requested operation requires superuser privilege\n
20+
# - name: Install Visual Studio Early Insiders release
21+
# - apt: deb="/tmp/code-insider.deb"
22+
# - become: true
23+
1924
- name: Install Visual Studio Early Insiders release
20-
apt: deb="/tmp/code-insider.deb"
21-
become: true
25+
shell: "sudo -i dpkg --force-confdef --force-confold -i /tmp/code-insider.deb"
2226

2327
# - name: VS2015 | Install Visual Studio Community 2015
2428
# raw: 'C:\TEMP\vs_community.exe /Silent /NoRestart

0 commit comments

Comments
 (0)