trying to fix openscap

This commit is contained in:
ipvsean
2020-03-05 14:40:02 -05:00
parent 169832ad79
commit e3b84a8b87
3 changed files with 11 additions and 13 deletions

View File

@@ -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"

View File

@@ -30,35 +30,28 @@ ansible-playbook playbooks/install_demo.yml -e @choose_demo.yml
<td><pre>demo: windows_iis</pre></td>
<td>install webserver on Windows Server with a survey</td>
<td>Not available </td>
<td>- windows
</td>
<td><ul><li>windows</li></ul></td>
</tr>
<tr>
<td>Create Developer Report</td>
<td><pre>demo: developer_report</pre></td>
<td>Create HTML report using <a href="https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#variables-discovered-from-systems-facts">Ansible facts</a></td>
<td>Not available </td>
<td>- f5
- rhel
</td>
<td><ul><li>f5</li></ul><li>rhel</li></ul></td>
</tr>
<tr>
<td>Deploy Application (survey)</td>
<td><pre>demo: deploy_application</pre></td>
<td>install yum applications on Linux with a survey</td>
<td><a href="https://www.youtube.com/watch?v=pU8ZgSBuEJw&list=PLdu06OJoEf2bp-PNtxPP_2n7Avkax8TED">Video Link</a></td>
<td>- f5
- rhel
</td>
<td><ul><li>f5</li></ul><li>rhel</li></ul></td>
</tr>
<tr>
<td>Create Openscap Report</td>
<td><pre>demo: openscap</pre></td>
<td>Create HTML report using SCAP Security Guide (SSG)</td>
<td>Not available </td>
<td>- f5
- rhel
</td>
<td><ul><li>f5</li></ul><li>rhel</li></ul></td>
</tr>
</table>

View File

@@ -31,7 +31,7 @@ ansible-playbook playbooks/install_demo.yml -e @choose_demo.yml
<td><pre>demo: {{key}}</pre></td>
<td>{{value.description}}</td>
<td>{% if value.video is defined%}<a href="{{ value.video}}">Video Link</a>{% else %}Not available {% endif %}</td>
<td>{{value.workshop_type|to_nice_yaml}}</td>
<td><ul>{% for workshop in value.workshop_type %}<li>{{workshop}}</li></ul>{% endfor %}</td>
</tr>
{% endfor %}
</table>