Hello,
I'm new to OpenSCAP and I'm using ansible so I'm trying to generate an ansible playbook using: # oscap xccdf generate fix --template urn:xccdf:fix:script:ansible --profile xccdf_org.ssgproject.content_profile_C2S --output ./playbook.yml /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml # ll playbook.yml* -rwx------. 1 root root 0 Jan 23 16:38 playbook.yml # The generated file is empty. If I'm trying: # oscap xccdf generate fix --template urn:xccdf:fix:script:sh --profile xccdf_org.ssgproject.content_profile_C2S --output ./playbook.sh /usr/share/xml/scap/ssg/content/ssg-rhel7-ds.xml # ll playbook.sh* -rwx------. 1 root root 426157 Jan 23 16:38 playbook.sh # Then the shell script is generated. My question is: Does the urn:xccdf:fix:script:ansible option working? I did see that someone managed to get it working: https://blog-zbynek.rhcloud.com/2016/09/12/ssg-openscap-and-ansible/ Thanks, Eric Martin
_______________________________________________ Open-scap-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/open-scap-list
