ansible-lockdown / RHEL7-STIG

Ansible role for Red Hat 7 STIG Baseline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failure on check RHEL-07-020111

tumauwt opened this issue · comments

fatal: [localhost]: FAILED! => {"msg": "The conditional check 'rhel_07_010111' failed.

The error was: error while evaluating conditional (rhel_07_010111): 'rhel_07_010111' is undefined.

The error appears to be in '/root/.ansible/roles/RHEL7-STIG-devel/tasks/fix-cat2.yml': line 782, column 9, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be:

block:
- name: "MEDIUM | RHEL-07-020111 | The Red Hat Enterprise Linux operating system must disable the graphical user interface automounter unless required."

User comment:
It appears that this check has a typo - listing rhel_07_010111 as a check under RHEL-07-020111

If I modify fix-cat2.yml and change the 3 rhel_07_010111 entries underneath the RHEL-07-020111 check, the playbook completes it's checks.

Yes. I'll merge a PR with that one change. Good catch.