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 }}"
|
Loading…
Add table
Add a link
Reference in a new issue