Install wsl-open

master
mandlm 2020-11-13 08:36:46 +01:00
parent fc2de30760
commit 65e4779c6b
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,19 @@
---
- name: download script
become_user: "{{ account.name }}"
get_url:
url: https://raw.githubusercontent.com/4U6U57/wsl-open/master/wsl-open.sh
dest: "{{ account.home }}/bin"
mode: "0755"
- name: install xdg-open
package:
name: xdg-utils
state: latest
- name: set BROWSER variable
become_user: "{{ account.name }}"
lineinfile:
path: "/home/{{ account.name }}/.zshrc"
regexp: "^export BROWSER="
line: "export BROWSER=wsl-open.sh"

View File

@ -19,5 +19,6 @@
- tools
- dev-machine
- pinentry-wsl
- wsl-open
- dockerd-wsl
- dircolors-wsl