Setup wsl default user
This commit is contained in:
parent
d1c0257d8c
commit
036dbccad9
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
|
- update-packages
|
||||||
- user-account
|
- user-account
|
||||||
# - github-auth
|
# - github-auth
|
||||||
|
- wsl-default-user
|
||||||
- dotfiles
|
- dotfiles
|
||||||
- git
|
- git
|
||||||
- tmux
|
- tmux
|
||||||
|
Reference in New Issue
Block a user