Remove colors from Lynis output.

This commit is contained in:
Hyperling 2020-12-28 21:41:43 -06:00
parent 0a33ace221
commit 07c9f9f4ca

View File

@ -6,7 +6,7 @@
force: yes force: yes
- name: Run Lynis Audit System - name: Run Lynis Audit System
shell: /usr/local/lynis/lynis audit system > "{{ lynis_report }}" 2>&1 shell: /usr/local/lynis/lynis --no-colors audit system > "{{ lynis_report }}" 2>&1
- name: Make Lynis Report Readable - name: Make Lynis Report Readable
shell: chmod 444 "{{ lynis_report }}" shell: chmod 444 "{{ lynis_report }}"