Setup wsl default user
This commit is contained in:
parent
d1c0257d8c
commit
036dbccad9
2 changed files with 8 additions and 0 deletions
7
roles/wsl-default-user/tasks/main.yaml
Normal file
7
roles/wsl-default-user/tasks/main.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: set wsl default user to {{ username }}
|
||||
ini_file:
|
||||
path: /etc/wsl.conf
|
||||
section: user
|
||||
option: default
|
||||
value: "{{ username }}"
|
|
@ -9,6 +9,7 @@
|
|||
- update-packages
|
||||
- user-account
|
||||
# - github-auth
|
||||
- wsl-default-user
|
||||
- dotfiles
|
||||
- git
|
||||
- tmux
|
||||
|
|
Loading…
Reference in a new issue