More organization and beginning to add 1337 share.

This commit is contained in:
2021-02-01 05:03:27 -06:00
parent 834800df8c
commit af1eee5f03
12 changed files with 34 additions and 9 deletions

View File

@ -0,0 +1,16 @@
---
- name: Install Lynis
git:
repo: https://github.com/CISOfy/lynis
dest: "{{ lynis_install_dir }}"
clone: yes
force: yes
- name: Run Lynis Audit System
shell: "{{ lynis_install_dir }}/lynis --no-colors audit system > {{ lynis_report }} 2>&1"
- name: Make Lynis Report Readable
file:
path: "{{ lynis_report }}"
mode: '0444'