Skip to content

Commit

Permalink
Adicion playbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jmanuelcalvorh committed Sep 13, 2020
1 parent a7c6ae0 commit 6c168e0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
Binary file removed .DS_Store
Binary file not shown.
19 changes: 19 additions & 0 deletions playbooks/gen_scap_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
- name: Generar/Actualizar reporte de Scap en Red Hat Insights
hosts: all
gather_facts: no
tasks:

- name: Validar que los paquete necesarios se encuentren instalados
yum:
name: scap-security-guide
state: latest

- name: Ejecutar el comando de generacion / acutualizacion de reportes
shell: insights-client --compliance
register: salida

- name: Debug de salida
debug:
var: salida

0 comments on commit 6c168e0

Please sign in to comment.