From 8fef18b991ef23a1b5ad6b8b176dc9c764e6fb73 Mon Sep 17 00:00:00 2001
From: feng <1304903146@qq.com>
Date: Thu, 17 Apr 2025 15:53:40 +0800
Subject: [PATCH] perf: gather account windows playbook failed_when: false

---
 apps/accounts/automations/gather_account/host/windows/main.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/accounts/automations/gather_account/host/windows/main.yml b/apps/accounts/automations/gather_account/host/windows/main.yml
index 6d545701a..453716046 100644
--- a/apps/accounts/automations/gather_account/host/windows/main.yml
+++ b/apps/accounts/automations/gather_account/host/windows/main.yml
@@ -4,6 +4,7 @@
     - name: Run net user command to get all users
       win_shell: net user
       register: user_list_output
+      failed_when: false
 
     - name: Parse all users from net user command
       set_fact: