ansible-machine-setup/roles/wsl-default-user/tasks/main.yaml

8 lines
161 B
YAML

---
- name: set wsl default user to {{ username }}
ini_file:
path: /etc/wsl.conf
section: user
option: default
value: "{{ username }}"