ansible-lockdown / RHEL7-STIG

Ansible role for Red Hat 7 STIG Baseline
MIT License
282 stars 144 forks source link

Update fix-cat2.yml #430

Closed whitehat237 closed 1 year ago

whitehat237 commented 1 year ago

Removes quote " character from module parameter. This causes a task failure and ansible reports that it's an unknown module parameter.

Overall Review of Changes: Modifies lines 155, and 166 and removes extraneous quote character

Issue Fixes: I have not opened an issue for this but can do so if needed. Resolves an issue in fix-cat2.yml with the task for RHEL-07-010063 Ansible reports that create\" is an unsupported module parameter for lineinfile module.

Enhancements: None

How has this been tested?: Made the modifications describe above, and ran the stig role against a RHEL 7.9 system and failed task RHEL-07-010063 now works as expected.