diff --git a/playbooks/10_openscap.yml b/playbooks/10_openscap.yml index 0148f9b..2bda80b 100644 --- a/playbooks/10_openscap.yml +++ b/playbooks/10_openscap.yml @@ -19,8 +19,13 @@ stat: path: "{{ssg_schema}}" + # - name: create HTML report + # command: "oscap xccdf eval --fetch-remote-resources --profile xccdf_org.ssgproject.content_profile_standard --results report.xml --report index.html {{ssg_schema}}" + # register: command_result + # failed_when: "'Error' in command_result.stderr" + - name: create HTML report - command: "oscap xccdf eval --fetch-remote-resources --profile xccdf_org.ssgproject.content_profile_standard --results report.xml --report index.html {{ssg_schema}}" + command: "oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_standard --results report.xml --report index.html {{ssg_schema}}" register: command_result failed_when: "'Error' in command_result.stderr" diff --git a/playbooks/test.md b/playbooks/test.md index f5aab3b..904cd5a 100644 --- a/playbooks/test.md +++ b/playbooks/test.md @@ -30,35 +30,28 @@ ansible-playbook playbooks/install_demo.yml -e @choose_demo.yml
demo: windows_iis
demo: developer_report
demo: deploy_application
demo: openscap
demo: {{key}}