Setting console output to log level INFO
INFO - The base image option has not been specified, choosing libvirt-based test environment.
INFO - Logging into /home/mburket/review/ComplianceAsCode/content3/tests/logs/rule-custom-2023-12-13-0659/test_suite.log
WARNING - Script fedora_key.fail.sh is not applicable on given platform
INFO - xccdf_org.ssgproject.content_rule_ensure_redhat_gpgkey_installed
INFO - Script key_installed.pass.sh using profile (all) OK
INFO - Script missing_key.fail.sh using profile (all) OK
ERROR - Rule evaluation resulted in fail, instead of expected pass during final stage
ERROR - The check after remediation failed for rule 'xccdf_org.ssgproject.content_rule_ensure_redhat_gpgkey_installed'.
Description of problem:
Rule
ensure_redhat_gpgkey_installed
doesn't pass Ansible testsSCAP Security Guide Version:
76393493a788b4e584406fbb7f8884ffac1714aa
Operating System Version:
RHEL 8
Steps to Reproduce:
1.
./automatus.py rule --remediate-using ansible --datastream ../build/ssg-rhel8-ds.xml --libvirt qemu:///system automatus_rhel8_10 ensure_redhat_gpgkey_installed
Actual Results:
Expected Results:
All Tests Pass
Additional Information/Debugging Steps:
When using bash the tests do pass.