From 345636a6ffa3ee70f02d9f8a9c9b2d9e9d059c4e Mon Sep 17 00:00:00 2001 From: marito Date: Sun, 15 Jun 2025 16:03:00 +0800 Subject: [PATCH] wsl permission --- roles/common/tasks/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 8a9e53b..76547cc 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -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 \ No newline at end of file