diff --git a/tasks/hardness_check_lynis.yml b/tasks/hardness_check_lynis.yml index 2362bf8..5a27db1 100644 --- a/tasks/hardness_check_lynis.yml +++ b/tasks/hardness_check_lynis.yml @@ -6,7 +6,7 @@ force: yes - 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 shell: chmod 444 "{{ lynis_report }}" \ No newline at end of file