Skip to content

Commit

Permalink
Fix 18.10.89.2.2 and 18.10.89.1.3
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Williams <[email protected]>
  • Loading branch information
MrSteve81 committed Mar 15, 2024
1 parent d791eb2 commit e8a5010
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ min_ansible_version: "2.10.1"
# win19cis_rule_18_9_102_2_2
# win19cis_rule_18_9_102_2_3
# win19cis_rule_18_9_103_1
# win19cis_rule_18_10_89_2_2 # Breaks WinRM Connection
win_skip_for_test: false

# Changes will be made that will require a system reboot.
Expand Down
3 changes: 2 additions & 1 deletion tasks/section18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3511,6 +3511,7 @@
type: dword
when:
- win19cis_rule_18_10_89_1_3
- not win_skip_for_test
tags:
- level1-domaincontroller
- level1-memberserver
Expand Down Expand Up @@ -3539,7 +3540,7 @@
ansible.windows.win_regedit:
path: HKLM:\Software\Policies\Microsoft\Windows\Winrm\Service
name: AllowAutoConfig
data: 1
data: 0
type: dword
when:
- win19cis_rule_18_10_89_2_2
Expand Down

0 comments on commit e8a5010

Please sign in to comment.