You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of sections for level2 server/workstation have no nested if structure to avoid templating them in if level 2. eg: {{ if .Vars.ubtu22cis_level_2 }}
There are too many to list but it causes the audit to say a number of tasks have failed because of it, when running the playbook at a level1-server standard.
I recommend going through each section and applying that if statement to any that are for level 2 only. The level 1 check by my understanding is implicit as a level 2 server needs to also be at a level 1 standard, so there shouldn't be any if statements for level 1, as all the tasks set at a level 1 standard will need to run either for level 1 or 2.
The text was updated successfully, but these errors were encountered:
A lot of sections for level2 server/workstation have no nested if structure to avoid templating them in if level 2. eg:
{{ if .Vars.ubtu22cis_level_2 }}
There are too many to list but it causes the audit to say a number of tasks have failed because of it, when running the playbook at a
level1-server
standard.I recommend going through each section and applying that if statement to any that are for level 2 only. The level 1 check by my understanding is implicit as a level 2 server needs to also be at a level 1 standard, so there shouldn't be any if statements for level 1, as all the tasks set at a level 1 standard will need to run either for level 1 or 2.
The text was updated successfully, but these errors were encountered: