From 35a15697ad738535ece0cd18fc4311681f782ead Mon Sep 17 00:00:00 2001 From: marito Date: Sun, 15 Jun 2025 14:41:56 +0800 Subject: [PATCH] updated msg --- roles/common/tasks/main.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index 16aed60..8a9e53b 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -48,19 +48,6 @@ 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. - 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. + 🛑 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