-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ubuntu snaps do not work in WSL 2. microsoft/WSL#9026 microsoft/WSL#8709
- Loading branch information
1 parent
cc7a5e8
commit 274c67e
Showing
7 changed files
with
37 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
--- | ||
- name: Install Go | ||
# https://go.dev/wiki/Ubuntu | ||
- name: Add PPA repository for golang | ||
become: yes | ||
community.general.snap: | ||
name: go | ||
classic: true | ||
apt_repository: | ||
repo: ppa:longsleep/golang-backports | ||
|
||
- name: Update apt packages | ||
become: yes | ||
ansible.builtin.apt: | ||
update_cache: yes | ||
|
||
- name: Install golang | ||
become: yes | ||
ansible.builtin.apt: | ||
name: golang-go | ||
state: latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
# https://ngrok.com/download | ||
- name: Download ngrok | ||
become: yes | ||
ansible.builtin.unarchive: | ||
src: https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz | ||
dest: /usr/local/bin | ||
remote_src: yes | ||
creates: /usr/local/bin/ngrok |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
# https://github.com/mikefarah/yq/#install | ||
- name: Download yq | ||
become: yes | ||
ansible.builtin.get_url: | ||
url: https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 | ||
dest: /usr/bin/yq | ||
mode: '0755' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters