From 72f4245284e8d81e3afcfe6041ae5cbe60138998 Mon Sep 17 00:00:00 2001 From: Mathieu Fortin Date: Tue, 26 Mar 2024 14:21:02 -0400 Subject: [PATCH] revert --- tasks/section01.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tasks/section01.yml b/tasks/section01.yml index 97be351..1d9aa7b 100644 --- a/tasks/section01.yml +++ b/tasks/section01.yml @@ -155,11 +155,10 @@ - password - name: "1.1.6 | PATCH | Ensure Relax minimum password length limits is set to Enabled." - ansible.windows.win_regedit: - path: HKLM:\System\CurrentControlSet\Control\SAM - name: RelaxMinimumPasswordLengthLimits - data: 1 - type: dword + community.windows.win_security_policy: + section: System Access + key: RelaxMinimumPasswordLengthLimits + value: 1 when: - win22cis_rule_1_1_6 tags: