Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playbook/role validation fixes (by Steampunk Spotter) #37

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
- name: Check ansible version
ansible.builtin.assert:
that: ansible_version.full is version_compare(min_ansible_version, '>=')
msg: You must use Ansible {{ min_ansible_version }} or greater
fail_msg: You must use Ansible {{ min_ansible_version }} or greater
tags:
- always

Expand Down
4 changes: 2 additions & 2 deletions tasks/section09.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
- name: "SCORED | 9.2.1 | PATCH | (L1) Ensure 'Windows Firewall: Private: Firewall state' is set to 'On (recommended)'"
community.windows.win_firewall:
state: enabled
profile: Private
profiles: Private
when:
- win16cis_rule_9_2_1
tags:
Expand Down Expand Up @@ -226,7 +226,7 @@
- name: "SCORED | 9.3.1 | PATCH | (L1) Ensure 'Windows Firewall: Public: Firewall state' is set to 'On (recommended)'"
community.windows.win_firewall:
state: enabled
profile: Public
profiles: Public
when:
- win16cis_rule_9_3_1
tags:
Expand Down
28 changes: 14 additions & 14 deletions tasks/section18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@
ansible.windows.win_regedit:
path: HKLM:\SYSTEM\CurrentControlSet\Services\NetBT\Parameters
state: present
value: NodeType
name: NodeType
data: 2
datatype: dword
type: dword
when:
- win16cis_rule_18_3_6
tags:
Expand All @@ -233,9 +233,9 @@
ansible.windows.win_regedit:
path: HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\Wdigest
state: present
value: UseLogonCredential
name: UseLogonCredential
data: 0
datatype: dword
type: dword
when:
- win16cis_rule_18_3_7
tags:
Expand All @@ -248,9 +248,9 @@
ansible.windows.win_regedit:
path: HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
state: present
value: AutoAdminLogon
name: AutoAdminLogon
data: 0
datatype: string
type: string
when:
- win16cis_rule_18_4_1
tags:
Expand All @@ -263,9 +263,9 @@
ansible.windows.win_regedit:
path: HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters
state: present
value: DisableIPSourceRouting
name: DisableIPSourceRouting
data: 2
datatype: dword
type: dword
when:
- win16cis_rule_18_4_2
tags:
Expand All @@ -278,9 +278,9 @@
ansible.windows.win_regedit:
path: HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
state: present
value: DisableIPSourceRouting
name: DisableIPSourceRouting
data: 2
datatype: dword
type: dword
when:
- win16cis_rule_18_4_3
tags:
Expand All @@ -293,9 +293,9 @@
ansible.windows.win_regedit:
path: HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
state: present
value: EnableICMPRedirect
name: EnableICMPRedirect
data: 0
datatype: dword
type: dword
when:
- win16cis_rule_18_4_4
tags:
Expand All @@ -308,9 +308,9 @@
ansible.windows.win_regedit:
path: HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
state: present
value: KeepAliveTime
name: KeepAliveTime
data: 300000
datatype: dword
type: dword
when:
- win16cis_rule_18_4_5
tags:
Expand Down