From 1be0478298f4f6aa5f4f689e26338c601d262eba Mon Sep 17 00:00:00 2001 From: fortinm Date: Sun, 9 Jun 2024 12:55:35 -0400 Subject: [PATCH] Updated module as it was error-prone Signed-off-by: fortinm --- tasks/cat1.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/cat1.yml b/tasks/cat1.yml index 637775e..d6f8204 100644 --- a/tasks/cat1.yml +++ b/tasks/cat1.yml @@ -548,10 +548,10 @@ - V-254492 - name: "HIGH | WN22-UR-000060 | PATCH | Windows Server 2022 Create a token object user right must not be assigned to any groups or accounts." - community.windows.win_security_policy: - section: Privilege Rights - key: SeCreateTokenPrivilege - value: "" + ansible.windows.win_user_right: + name: SeCreateTokenPrivilege + users: [] + action: set when: - wn22_ur_000060 tags: