trying to fix openscap
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user