ansible-lockdown / RHEL8-STIG

Ansible role for Red Hat 8 STIG Baseline
https://ansible-lockdown.readthedocs.io
MIT License
95 stars 57 forks source link

RHEL-08-020022 Control should only apply to versions below 8.2 #271

Open prestonSeaman2 opened 4 months ago

prestonSeaman2 commented 4 months ago

Describe the Issue Control only applicable to versions below 8.2

Expected Behavior Should only be run against rhel 8 versions below 8.2

Actual Behavior Runs against all rhel 8 versions

Control(s) Affected 020022

Additional Notes Anything additional goes here

Possible Solution Add logic to when block - ansible_distribution_version is version('8.1', '<=') to RHEL-08-020022 in the fix-cat2.yml

uk-bolly commented 4 months ago

hi @prestonSeaman2

Thank you as always for raising this issue, a fix has been applied and merged with devel branch.

Many thanks

uk-bolly