Skip to content

Win_skip_for_test not being evaluated properly #7

@R2J2

Description

@R2J2

Have you checked ReadtheDocs?: Yes.

Describe the Issue

win_skip_for_test set to false within main.yml in ./defaults
win25cis_rule_9_3_4 set to true within section-9.yml in ./tasks/ansible_hardening
Condition on task 9.3.4 set to
when:
- win25cis_rule_9_3_4
- not win_skip_for_test
CIS rule 9.3.4 is being skipped.

Expected Behavior
Condition on the task should be evaluated as true and task applied

Actual Behavior
Condition on the task evaluated as false so task skipped

Control(s) Affected
9.3.4 and 18.10.89.1.3 seen to be affected

Environment (please complete the following information):

branch being used: [e.g. devel] devel
Ansible Version: core 2.17.14
Host Python Version: [e.g. Python 3.7.6] 3.10.12
Ansible Server Python Version: [e.g. Python 3.7.6] 3.10.12
Additional Details:
Additional Notes
Something that is not obvious is affecting this.

Possible Solution

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions