wsl permission

This commit is contained in:
marito 2025-06-15 16:03:00 +08:00
parent bee87eafd8
commit 345636a6ff

View File

@ -47,7 +47,6 @@
- name: "STOP PLAYBOOK: Force user to restart WSL if wsl.conf was changed"
ansible.builtin.fail:
msg: |
🛑 ACTION REQUIRED: WSL Configuration Was Updated! The playbook has configured /etc/wsl.conf to fix file permissions. You MUST restart WSL for this change to take effect. The playbook has been stopped. Please perform the following steps: 1. Close this terminal. 2. Open Windows PowerShell or CMD (not as admin). 3. Run the command: wsl --shutdown 4. Wait a few seconds, then re-open your WSL terminal and cd ~/Lenvi. 5. Re-run the Lenvi playbook: ansible-playbook playbook.yml -i inventory --ask-become-pass After restarting, your file permission issues will be permanently solved.
when: wsl_conf_result.changed