Remove colors from Lynis output.
This commit is contained in:
parent
0a33ace221
commit
07c9f9f4ca
@ -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 }}"
|
Loading…
x
Reference in New Issue
Block a user